summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2019-03-28 13:03:51 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2019-03-28 12:22:09 +0000
commit08e3bba053ae329a53bf5b610c2fcde15aeefa3d (patch)
treedd71a5388e54c712305811c288ec094429866a0b /src
parent03f9f0ae7d7b87ac9d4e0c5eaeba9628f20738b2 (diff)
Fix slides for distance field text
The distance field text explicitly sets its visibility to fix a bug where hidden text was not properly hidden. This was the wrong approach, and resulted in text on all slides being showed simultaneously. The visibility of the nodes is actually handled by the SlidePlayerNG, so we don't need to explicitly add tag anything as visible when it is created. Task-number: QT3DS-3149 Change-Id: I2303ef98254b990e7072c3d337433d964967bab0 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/runtime/q3dsscenemanager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/q3dsscenemanager.cpp b/src/runtime/q3dsscenemanager.cpp
index 11d28be..77d4c61 100644
--- a/src/runtime/q3dsscenemanager.cpp
+++ b/src/runtime/q3dsscenemanager.cpp
@@ -5496,7 +5496,6 @@ void Q3DSSceneManager::updateText(Q3DSTextNode *text3DS, bool needsNewImage)
Qt3DCore::QEntity *parentEntity = data->entity->parentEntity();
buildText(text3DS, data->layer3DS, parentEntity);
- setNodeVisibility(text3DS, text3DS->flags().testFlag(Q3DSNode::Active));
}
} else
#endif