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