diff options
Diffstat (limited to 'src/runtime/Qt3DSQmlElementHelper.cpp')
-rw-r--r-- | src/runtime/Qt3DSQmlElementHelper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/Qt3DSQmlElementHelper.cpp b/src/runtime/Qt3DSQmlElementHelper.cpp index fdc67ad..1ddd1c8 100644 --- a/src/runtime/Qt3DSQmlElementHelper.cpp +++ b/src/runtime/Qt3DSQmlElementHelper.cpp @@ -254,7 +254,8 @@ bool CQmlElementHelper::SetAttribute(TElement *theElement, const char *theAttNam bool force = false; // Fail if trying to change the activation state of an object in another slide - if (theAttributeKey.m_Hash == Q3DStudio::ATTRIBUTE_EYEBALL) { + if (theAttributeKey.m_Hash == Q3DStudio::ATTRIBUTE_EYEBALL + && theElement->GetBelongedPresentation()->GetActivityZone()) { CPresentation *presentation = static_cast<CPresentation *>( theElement->GetBelongedPresentation()); ISlideSystem &slideSystem = presentation->GetSlideSystem(); |