summaryrefslogtreecommitdiffstats
path: root/src/Authoring/QT3DSDM/Systems/Qt3DSDMMetaData.cpp
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2019-04-04 15:59:47 +0300
committerMahmoud Badri <mahmoud.badri@qt.io>2019-04-05 12:59:03 +0000
commit0c0c438384343148ac74dfe14e16a814d02936e4 (patch)
tree4b189a66fce0bf9c2f61a0939ffd65651b2a634d /src/Authoring/QT3DSDM/Systems/Qt3DSDMMetaData.cpp
parentc627989061ecb728765eb427b0d17307d4abcc65 (diff)
Implement variants support for Models
Also some relevant tweaks here and there. Next: supporting variants on Groups, then Components. Task-number: QT3DS-3234 Change-Id: I3943baef1118cecbcd4211b6eefca3d54b21a89e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/QT3DSDM/Systems/Qt3DSDMMetaData.cpp')
-rw-r--r--src/Authoring/QT3DSDM/Systems/Qt3DSDMMetaData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/QT3DSDM/Systems/Qt3DSDMMetaData.cpp b/src/Authoring/QT3DSDM/Systems/Qt3DSDMMetaData.cpp
index 542b05d3..6d8c19ea 100644
--- a/src/Authoring/QT3DSDM/Systems/Qt3DSDMMetaData.cpp
+++ b/src/Authoring/QT3DSDM/Systems/Qt3DSDMMetaData.cpp
@@ -2252,7 +2252,7 @@ public:
if (inItem.m_FormalName.empty())
inItem.m_FormalName = inItem.m_Name;
if (inItem.m_Description.empty())
- inItem.m_Description = inItem.m_Name;
+ inItem.m_Description = inItem.m_FormalName;
// Ensure that users can use a float type and make minimal decisions
SerializeMetaDataData(inArchive, inItem.m_MetaDataData, inItem.m_CompleteType);