History

Give the pointer its own copy of the script parameters in case its pick is deleted

sabrina-shanman committed 7 years ago

Commit 30482c21 parent 715f6a43 files · +11 −1Browse files

Showing the changes to interface/src/raypick/PointerScriptingInterface.cpp (1 of 3 files). Show all

Unified · Split

interface/src/raypick/PointerScriptingInterface.cpp+2−0
@@ -62,6 +62,8 @@ unsigned int PointerScriptingInterface::createPointer(const PickQuery::PickType& · 61 unmodified lines
6262
6363 propertyMap["type"] = (int)type;
6464
65+ pointer->setScriptParameters(propertyMap);
66+
6567 return DependencyManager::get<PointerManager>()->addPointer(pointer);
6668 }
6769