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