Showing the changes to interface/src/raypick/LaserPointerScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -17,7 +17,7 @@ · 16 unmodified lines | |||
| 17 | 17 | ||
| 18 | #include "Application.h" | 18 | #include "Application.h" |
| 19 | 19 | ||
| 20 | uint32_t LaserPointerScriptingInterface::createLaserPointer(const QVariant& properties) { | 20 | QUuid LaserPointerScriptingInterface::createLaserPointer(const QVariant& properties) { |
| 21 | QVariantMap propertyMap = properties.toMap(); | 21 | QVariantMap propertyMap = properties.toMap(); |
| 22 | 22 | ||
| 23 | bool faceAvatar = false; | 23 | bool faceAvatar = false; |
| @@ -57,7 +57,7 @@ uint32_t LaserPointerScriptingInterface::createLaserPointer(const QVariant& prop · 33 unmodified lines | |||
| 57 | return DependencyManager::get<LaserPointerManager>()->createLaserPointer(propertyMap, renderStates, faceAvatar, centerEndY, lockEnd, enabled); | 57 | return DependencyManager::get<LaserPointerManager>()->createLaserPointer(propertyMap, renderStates, faceAvatar, centerEndY, lockEnd, enabled); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | void LaserPointerScriptingInterface::editRenderState(unsigned int uid, const QString& renderState, const QVariant& properties) { | 60 | void LaserPointerScriptingInterface::editRenderState(QUuid uid, const QString& renderState, const QVariant& properties) { |
| 61 | QVariantMap propMap = properties.toMap(); | 61 | QVariantMap propMap = properties.toMap(); |
| 62 | 62 | ||
| 63 | QVariant startProps; | 63 | QVariant startProps; |