History

first try at angular-velocity setting action

Seth Alves committed 9 years ago

Commit 7f69bde1 parent 6808cf67 files · +49 −40Browse files

Showing the changes to interface/src/InterfaceDynamicFactory.cpp (1 of 7 files). Show all

Unified · Split

interface/src/InterfaceDynamicFactory.cpp+3−0
@@ -20,6 +20,7 @@ · 19 unmodified lines
20#include <ObjectConstraintSlider.h>20#include <ObjectConstraintSlider.h>
21#include <ObjectConstraintBallSocket.h>21#include <ObjectConstraintBallSocket.h>
22#include <ObjectConstraintConeTwist.h>22#include <ObjectConstraintConeTwist.h>
23#include <ObjectActionMotor.h>
23#include <LogHandler.h>24#include <LogHandler.h>
24 25
25#include "InterfaceDynamicFactory.h"26#include "InterfaceDynamicFactory.h"
@@ -47,6 +48,8 @@ EntityDynamicPointer interfaceDynamicFactory(EntityDynamicType type, const QUuid · 21 unmodified lines
47 return std::make_shared<ObjectConstraintBallSocket>(id, ownerEntity);48 return std::make_shared<ObjectConstraintBallSocket>(id, ownerEntity);
48 case DYNAMIC_TYPE_CONE_TWIST:49 case DYNAMIC_TYPE_CONE_TWIST:
49 return std::make_shared<ObjectConstraintConeTwist>(id, ownerEntity);50 return std::make_shared<ObjectConstraintConeTwist>(id, ownerEntity);
51 case DYNAMIC_TYPE_MOTOR:
52 return std::make_shared<ObjectActionMotor>(id, ownerEntity);
50 }53 }
51 54
52 qDebug() << "Unknown entity dynamic type";55 qDebug() << "Unknown entity dynamic type";