diff options
-rw-r--r-- | src/runtime/Qt3DSSlideSystem.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/Qt3DSSlideSystem.cpp b/src/runtime/Qt3DSSlideSystem.cpp index 4eaa698..4cdce28 100644 --- a/src/runtime/Qt3DSSlideSystem.cpp +++ b/src/runtime/Qt3DSSlideSystem.cpp @@ -457,6 +457,11 @@ struct SSlideSystem : public ISlideSystem if (!theElem) { QT3DS_ASSERT(false); } else { + // If slide element doesn't contain any attributes, don't continue + // even to activity change. + if (theElement->m_AttributeCount == 0) + continue; + if (inOp.handleElementActive(*theElem, theElement->m_Active)) { for (TSlideAttributeNodeList::const_iterator iter = TSlideAttributeNodeList::begin(theElement->m_AttributeNodes, |