History

separate raypickscriptinginterface, cleanup

SamGondelman committed 9 years ago

Commit 9bb7e661 parent f05878112 files · +240 −132Browse files

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

Unified · Split

interface/src/raypick/LaserPointerScriptingInterface.cpp+1−4
@@ -12,11 +12,8 @@ · 11 unmodified lines
1212 #include "LaserPointerScriptingInterface.h"
1313
1414 #include <QVariant>
15−#include "RegisteredMetaTypes.h"
1615 #include "GLMHelpers.h"
1716
18−#include "Application.h"
19−
2017 QUuid LaserPointerScriptingInterface::createLaserPointer(const QVariant& properties) {
2118 QVariantMap propertyMap = properties.toMap();
2219
@@ -69,7 +66,7 @@ QUuid LaserPointerScriptingInterface::createLaserPointer(const QVariant& propert · 46 unmodified lines
6966 }
7067 }
7168
72− return qApp->getLaserPointerManager().createLaserPointer(propertyMap, renderStates, defaultRenderStates, faceAvatar, centerEndY, lockEnd, enabled);
69+ return qApp->getLaserPointerManager().createLaserPointer(properties, renderStates, defaultRenderStates, faceAvatar, centerEndY, lockEnd, enabled);
7370 }
7471
7572 void LaserPointerScriptingInterface::editRenderState(QUuid uid, const QString& renderState, const QVariant& properties) {