diff options
-rw-r--r-- | src/runtime/Qt3DSSlideSystem.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/Qt3DSSlideSystem.cpp b/src/runtime/Qt3DSSlideSystem.cpp index 4eaa698..67e38f7 100644 --- a/src/runtime/Qt3DSSlideSystem.cpp +++ b/src/runtime/Qt3DSSlideSystem.cpp @@ -41,6 +41,8 @@ #include "Qt3DSHash.h" #include "Qt3DSTimePolicy.h" #include "foundation/Qt3DSIndexableLinkedList.h" +#include "Qt3DSIPresentation.h" +#include "Qt3DSPresentation.h" using namespace qt3ds::runtime; using namespace qt3ds::runtime::element; @@ -457,6 +459,8 @@ struct SSlideSystem : public ISlideSystem if (!theElem) { QT3DS_ASSERT(false); } else { + if (theElem->IsIndependent()) + theElem->GetBelongedPresentation()->GetFrameData().GetDirtyList().Push(theElem); if (inOp.handleElementActive(*theElem, theElement->m_Active)) { for (TSlideAttributeNodeList::const_iterator iter = TSlideAttributeNodeList::begin(theElement->m_AttributeNodes, |