diff --git a/src/meshgenerator.cpp b/src/meshgenerator.cpp index cea80b85..6b91c171 100644 --- a/src/meshgenerator.cpp +++ b/src/meshgenerator.cpp @@ -393,7 +393,7 @@ bool MeshGenerator::checkIsComponentDirty(QString componentId) auto findComponent = m_snapshot->components.find(componentId); if (findComponent == m_snapshot->components.end()) { qDebug() << "Component not found:" << componentId; - return nullptr; + return isDirty; } component = &findComponent->second; }