Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 21 files). Show all
Unified · Split
| @@ -25,7 +25,7 @@ unsigned int PickScriptingInterface::createPick(const PickQuery::PickType type, · 24 unmodified lines | ||
| 25 | 25 | case PickQuery::PickType::Ray: |
| 26 | 26 | return createRayPick(properties); |
| 27 | 27 | default: |
| 28 | − return 0; | |
| 28 | + return PickManager::INVALID_PICK_ID; | |
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | 31 | |
| @@ -78,7 +78,7 @@ unsigned int PickScriptingInterface::createRayPick(const QVariant& properties) { · 46 unmodified lines | ||
| 78 | 78 | return DependencyManager::get<PickManager>()->addPick(PickQuery::Ray, std::make_shared<StaticRayPick>(position, direction, filter, maxDistance, enabled)); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | − return 0; | |
| 81 | + return PickManager::INVALID_PICK_ID; | |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | void PickScriptingInterface::enablePick(unsigned int uid) { |