From dce4dc3518f7c80ed3c89e265e2cd18b775b5417 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 21:36:06 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/Mod/Mesh/App/Exporter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Mod/Mesh/App/Exporter.cpp b/src/Mod/Mesh/App/Exporter.cpp index c90271c1db..ca3f8062b2 100644 --- a/src/Mod/Mesh/App/Exporter.cpp +++ b/src/Mod/Mesh/App/Exporter.cpp @@ -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()) {