From 50af71b41bd80b828d9c15005595698a272d41e1 Mon Sep 17 00:00:00 2001 From: Jere Tuliniemi Date: Fri, 1 Mar 2019 14:50:42 +0200 Subject: Implement local/global manipulator toggle behavior Manipulators now should be able to manipulate the object in global space. Plane scaling works differently than in the old runtime in this patch as the logic of that is unclear at the moment. Task-number: QT3DS-3010 Change-Id: Ie6961727b32c530d55e41ed84f102526f018ace9 Reviewed-by: Miikka Heikkinen --- src/Authoring/Studio/Render/Q3DSManipulationWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Authoring/Studio/Render/Q3DSManipulationWidget.h') diff --git a/src/Authoring/Studio/Render/Q3DSManipulationWidget.h b/src/Authoring/Studio/Render/Q3DSManipulationWidget.h index 76a0bb11..daa8c65b 100644 --- a/src/Authoring/Studio/Render/Q3DSManipulationWidget.h +++ b/src/Authoring/Studio/Render/Q3DSManipulationWidget.h @@ -67,7 +67,7 @@ public: void destroyManipulators(); void applyProperties(Q3DSGraphObject *node, Q3DSCameraNode *camera, - Q3DSLayerNode *layer); + Q3DSLayerNode *layer, bool globalSpace); private: ManipulationWidgetType m_type = ManipulationWidgetType::Translation; -- cgit v1.2.3