Fix multiple windows crash when preference change
parent
b714b84dd8
commit
629c02adbe
|
@ -1501,7 +1501,7 @@ void Document::meshReady()
|
|||
delete m_meshGenerator;
|
||||
m_meshGenerator = nullptr;
|
||||
|
||||
qDebug() << "MeshLoader generation done";
|
||||
qDebug() << "Mesh generation done";
|
||||
|
||||
m_isPostProcessResultObsolete = true;
|
||||
m_isRigObsolete = true;
|
||||
|
@ -1558,7 +1558,7 @@ void Document::generateMesh()
|
|||
return;
|
||||
}
|
||||
|
||||
qDebug() << "MeshLoader generating..";
|
||||
qDebug() << "Mesh generating..";
|
||||
|
||||
settleOrigin();
|
||||
|
||||
|
|
|
@ -1118,6 +1118,7 @@ DocumentWindow::~DocumentWindow()
|
|||
{
|
||||
emit uninialized();
|
||||
g_documentWindows.erase(this);
|
||||
delete m_document;
|
||||
}
|
||||
|
||||
void DocumentWindow::showEvent(QShowEvent *event)
|
||||
|
|
Loading…
Reference in New Issue