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