Showing the changes to interface/src/InterfaceDynamicFactory.cpp (1 of 5 files). Show all
Unified · Split
| @@ -19,6 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | #include <ObjectConstraintHinge.h> |
| 20 | 20 | #include <ObjectConstraintSlider.h> |
| 21 | 21 | #include <ObjectConstraintBallSocket.h> |
| 22 | +#include <ObjectConstraintConeTwist.h> | |
| 22 | 23 | #include <LogHandler.h> |
| 23 | 24 | |
| 24 | 25 | #include "InterfaceDynamicFactory.h" |
| @@ -44,6 +45,8 @@ EntityDynamicPointer interfaceDynamicFactory(EntityDynamicType type, const QUuid · 19 unmodified lines | ||
| 44 | 45 | return std::make_shared<ObjectConstraintSlider>(id, ownerEntity); |
| 45 | 46 | case DYNAMIC_TYPE_BALL_SOCKET: |
| 46 | 47 | return std::make_shared<ObjectConstraintBallSocket>(id, ownerEntity); |
| 48 | + case DYNAMIC_TYPE_CONE_TWIST: | |
| 49 | + return std::make_shared<ObjectConstraintConeTwist>(id, ownerEntity); | |
| 47 | 50 | } |
| 48 | 51 | |
| 49 | 52 | qDebug() << "Unknown entity dynamic type"; |