Fix export ready signal

master
huxingyi 2020-11-18 20:31:11 +09:30
parent 74b913ddaa
commit dbecdbe53a
1 changed files with 12 additions and 0 deletions

View File

@ -1956,6 +1956,8 @@ void Document::meshReady()
m_resultTextureMesh = model; m_resultTextureMesh = model;
emit resultTextureChanged(); emit resultTextureChanged();
} }
checkExportReadyState();
} }
} }
} }
@ -3345,6 +3347,16 @@ bool Document::isExportReady() const
m_rigGenerator || m_rigGenerator ||
m_motionsGenerator) m_motionsGenerator)
return false; return false;
if (objectLocked)
return true;
if (m_isResultMeshObsolete ||
m_isTextureObsolete ||
m_isPostProcessResultObsolete ||
m_isRigObsolete)
return false;
return true; return true;
} }