Showing the changes to interface/src/InterfaceActionFactory.cpp (1 of 5 files). Show all
Unified · Split
| @@ -14,6 +14,7 @@ · 13 unmodified lines | |||
| 14 | #include <avatar/AvatarActionHold.h> | 14 | #include <avatar/AvatarActionHold.h> |
| 15 | #include <ObjectActionOffset.h> | 15 | #include <ObjectActionOffset.h> |
| 16 | #include <ObjectActionSpring.h> | 16 | #include <ObjectActionSpring.h> |
| 17 | #include <ObjectActionTravelOriented.h> | ||
| 17 | #include <LogHandler.h> | 18 | #include <LogHandler.h> |
| 18 | 19 | ||
| 19 | #include "InterfaceActionFactory.h" | 20 | #include "InterfaceActionFactory.h" |
| @@ -29,6 +30,8 @@ EntityActionPointer interfaceActionFactory(EntityActionType type, const QUuid& i · 9 unmodified lines | |||
| 29 | return std::make_shared<ObjectActionSpring>(id, ownerEntity); | 30 | return std::make_shared<ObjectActionSpring>(id, ownerEntity); |
| 30 | case ACTION_TYPE_HOLD: | 31 | case ACTION_TYPE_HOLD: |
| 31 | return std::make_shared<AvatarActionHold>(id, ownerEntity); | 32 | return std::make_shared<AvatarActionHold>(id, ownerEntity); |
| 33 | case ACTION_TYPE_TRAVEL_ORIENTED: | ||
| 34 | return std::make_shared<ObjectActionTravelOriented>(id, ownerEntity); | ||
| 32 | } | 35 | } |
| 33 | 36 | ||
| 34 | Q_ASSERT_X(false, Q_FUNC_INFO, "Unknown entity action type"); | 37 | Q_ASSERT_X(false, Q_FUNC_INFO, "Unknown entity action type"); |