[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-11-08 21:36:06 +00:00
committed by wwmayer
parent 640de8ceb2
commit dce4dc3518

View File

@@ -134,8 +134,10 @@ int Exporter::addObject(App::DocumentObject* obj, float tol)
}
Py_DECREF(pyobj);
}
} else if ( it->second.getTransform() != matrix )
}
else if (it->second.getTransform() != matrix) {
it->second.setTransform(matrix);
}
// Add a new mesh
if (it != meshCache.end()) {