Showing the changes to interface/src/InterfaceDynamicFactory.cpp (1 of 7 files). Show all
Unified · Split
| @@ -21,7 +21,6 @@ · 20 unmodified lines | |||
| 21 | #include <ObjectConstraintSlider.h> | 21 | #include <ObjectConstraintSlider.h> |
| 22 | #include <ObjectConstraintBallSocket.h> | 22 | #include <ObjectConstraintBallSocket.h> |
| 23 | #include <ObjectConstraintConeTwist.h> | 23 | #include <ObjectConstraintConeTwist.h> |
| 24 | #include <ObjectActionMotor.h> | ||
| 25 | #include <LogHandler.h> | 24 | #include <LogHandler.h> |
| 26 | 25 | ||
| 27 | #include "InterfaceDynamicFactory.h" | 26 | #include "InterfaceDynamicFactory.h" |
| @@ -51,8 +50,6 @@ EntityDynamicPointer interfaceDynamicFactory(EntityDynamicType type, const QUuid · 23 unmodified lines | |||
| 51 | return std::make_shared<ObjectConstraintBallSocket>(id, ownerEntity); | 50 | return std::make_shared<ObjectConstraintBallSocket>(id, ownerEntity); |
| 52 | case DYNAMIC_TYPE_CONE_TWIST: | 51 | case DYNAMIC_TYPE_CONE_TWIST: |
| 53 | return std::make_shared<ObjectConstraintConeTwist>(id, ownerEntity); | 52 | return std::make_shared<ObjectConstraintConeTwist>(id, ownerEntity); |
| 54 | case DYNAMIC_TYPE_MOTOR: | ||
| 55 | return std::make_shared<ObjectActionMotor>(id, ownerEntity); | ||
| 56 | } | 53 | } |
| 57 | 54 | ||
| 58 | qDebug() << "Unknown entity dynamic type"; | 55 | qDebug() << "Unknown entity dynamic type"; |