Fix Compile Error

master
PowPingDone 2018-09-16 14:23:54 -05:00 committed by GitHub
parent 8dcabeae72
commit e2d9fc1c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ bool MeshGenerator::checkIsComponentDirty(QString componentId)
auto findComponent = m_snapshot->components.find(componentId); auto findComponent = m_snapshot->components.find(componentId);
if (findComponent == m_snapshot->components.end()) { if (findComponent == m_snapshot->components.end()) {
qDebug() << "Component not found:" << componentId; qDebug() << "Component not found:" << componentId;
return nullptr; return isDirty;
} }
component = &findComponent->second; component = &findComponent->second;
} }