Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -80,9 +80,9 @@ glm::vec2 ControllerScriptingInterface::getViewportDimensions() const { · 79 unmodified lines | ||
| 80 | 80 | return qApp->getUiSize(); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | −glm::vec4 ControllerScriptingInterface::getRecommendedOverlayRect() const { | |
| 83 | +QVariant ControllerScriptingInterface::getRecommendedOverlayRect() const { | |
| 84 | 84 | auto rect = qApp->getRecommendedOverlayRect(); |
| 85 | − return vec4(rect.x, rect.y, rect.z, rect.w); | |
| 85 | + return vec4toVariant(vec4(rect.x, rect.y, rect.z, rect.w)); | |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | controller::InputController* ControllerScriptingInterface::createInputController(const QString& deviceName, const QString& tracker) { |