Fix bone color update
parent
ffe6bce809
commit
b906409ab9
|
@ -3095,6 +3095,7 @@ void Document::boneReady()
|
||||||
}
|
}
|
||||||
|
|
||||||
m_resultBodyBonePreviewMesh = m_boneGenerator->takeBodyPreviewMesh();
|
m_resultBodyBonePreviewMesh = m_boneGenerator->takeBodyPreviewMesh();
|
||||||
|
emit resultBodyBonePreviewMeshChanged();
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
|
|
||||||
|
|
|
@ -226,6 +226,7 @@ signals:
|
||||||
void resultMeshChanged();
|
void resultMeshChanged();
|
||||||
void resultComponentPreviewMeshesChanged();
|
void resultComponentPreviewMeshesChanged();
|
||||||
void resultBonePreviewMeshesChanged();
|
void resultBonePreviewMeshesChanged();
|
||||||
|
void resultBodyBonePreviewMeshChanged();
|
||||||
void turnaroundChanged();
|
void turnaroundChanged();
|
||||||
void editModeChanged();
|
void editModeChanged();
|
||||||
void resultTextureChanged();
|
void resultTextureChanged();
|
||||||
|
|
|
@ -202,6 +202,7 @@ DocumentWindow::DocumentWindow()
|
||||||
m_isLastMeshGenerationSucceed = m_document->isMeshGenerationSucceed();
|
m_isLastMeshGenerationSucceed = m_document->isMeshGenerationSucceed();
|
||||||
updateInprogressIndicator();
|
updateInprogressIndicator();
|
||||||
});
|
});
|
||||||
|
connect(m_document, &Document::resultBodyBonePreviewMeshChanged, this, &DocumentWindow::updateInprogressIndicator);
|
||||||
connect(m_document, &Document::resultComponentPreviewMeshesChanged, this, &DocumentWindow::generateComponentPreviewImages);
|
connect(m_document, &Document::resultComponentPreviewMeshesChanged, this, &DocumentWindow::generateComponentPreviewImages);
|
||||||
connect(m_document, &Document::textureChanged, this, &DocumentWindow::generateComponentPreviewImages);
|
connect(m_document, &Document::textureChanged, this, &DocumentWindow::generateComponentPreviewImages);
|
||||||
connect(m_document, &Document::postProcessing, this, &DocumentWindow::updateInprogressIndicator);
|
connect(m_document, &Document::postProcessing, this, &DocumentWindow::updateInprogressIndicator);
|
||||||
|
@ -638,6 +639,7 @@ DocumentWindow::DocumentWindow()
|
||||||
connect(m_document, &Document::rigChanged, m_document, &Document::generateBone);
|
connect(m_document, &Document::rigChanged, m_document, &Document::generateBone);
|
||||||
connect(m_document, &Document::postProcessedResultChanged, m_document, &Document::generateBone);
|
connect(m_document, &Document::postProcessedResultChanged, m_document, &Document::generateBone);
|
||||||
connect(m_document, &Document::resultTextureChanged, this, &DocumentWindow::updateRenderModel);
|
connect(m_document, &Document::resultTextureChanged, this, &DocumentWindow::updateRenderModel);
|
||||||
|
connect(m_document, &Document::resultBodyBonePreviewMeshChanged, this, &DocumentWindow::updateRenderModel);
|
||||||
|
|
||||||
connect(m_document, &Document::resultMeshChanged, this, &DocumentWindow::updateRenderModel);
|
connect(m_document, &Document::resultMeshChanged, this, &DocumentWindow::updateRenderModel);
|
||||||
connect(m_document, &Document::resultMeshChanged, this, &DocumentWindow::updateRenderWireframe);
|
connect(m_document, &Document::resultMeshChanged, this, &DocumentWindow::updateRenderWireframe);
|
||||||
|
|
Loading…
Reference in New Issue