From dbecdbe53aad8f83fc47971d9f592862d340d1fa Mon Sep 17 00:00:00 2001 From: huxingyi Date: Wed, 18 Nov 2020 20:31:11 +0930 Subject: [PATCH] Fix export ready signal --- src/document.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/document.cpp b/src/document.cpp index 93699c61..752785ec 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -1956,6 +1956,8 @@ void Document::meshReady() m_resultTextureMesh = model; emit resultTextureChanged(); } + + checkExportReadyState(); } } } @@ -3345,6 +3347,16 @@ bool Document::isExportReady() const m_rigGenerator || m_motionsGenerator) return false; + + if (objectLocked) + return true; + + if (m_isResultMeshObsolete || + m_isTextureObsolete || + m_isPostProcessResultObsolete || + m_isRigObsolete) + return false; + return true; }