summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2019-12-17 18:30:54 +0200
committerAntti Määttä <antti.maatta@qt.io>2020-01-16 09:32:38 +0200
commit5f970ac5ba14e128bbb28d066f9586e8b0b579b6 (patch)
tree5c4fddaeb28f6917f39d20dbd19f447b1d8203e2 /src
parent17910934b5959f99aec87ed48dfb21f6b238557d (diff)
Add ordered property to group
Task-number: QT3DS-3820 Change-Id: Icc1a497d5e7308e4e1a89e777b4ee21f2a790e98 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp b/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp
index f08b9f6d..64d68f25 100644
--- a/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp
+++ b/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp
@@ -345,6 +345,7 @@ struct STranslatorDataModelParser
#define Node_LocalOpacity m_Node.m_Opacity
#define Node_RotationOrder m_Node.m_RotationOrder
#define Node_LeftHanded m_Node.m_Orientation
+#define Group_ordered m_Node.m_ordered
#define Layer_TemporalAAEnabled m_Layer.m_TemporalAA
#define Layer_LayerEnableDepthTest m_Layer.m_DisableDepthTest
#define Layer_LayerEnableDepthPrePass m_Layer.m_DisableDepthPrepass
@@ -637,6 +638,8 @@ struct SNodeTranslator : public SGraphObjectTranslator
ITERATE_QT3DS_RENDER_NODE_PROPERTIES
theParser.ParseProperty(inContext.m_ObjectDefinitions.m_Node.m_BoneId,
theItem.m_SkeletonId);
+ theParser.ParseProperty(inContext.m_ObjectDefinitions.m_Group.m_ordered,
+ theItem.m_ordered);
bool ignoresParent = false;
if (theParser.ParseProperty(inContext.m_ObjectDefinitions.m_Node.m_IgnoresParent,
ignoresParent))