From b7674bdb1eb2702268897b1b0bde396a9c35d1f4 Mon Sep 17 00:00:00 2001 From: Fabian Reister <fabian.reister@kit.edu> Date: Tue, 24 May 2022 09:52:39 +0200 Subject: [PATCH] adding missing curly brackets --- VirtualRobot/XML/mujoco/MeshConverter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VirtualRobot/XML/mujoco/MeshConverter.cpp b/VirtualRobot/XML/mujoco/MeshConverter.cpp index e0eac9582..6e8f670ad 100644 --- a/VirtualRobot/XML/mujoco/MeshConverter.cpp +++ b/VirtualRobot/XML/mujoco/MeshConverter.cpp @@ -242,8 +242,9 @@ bool MeshConverter::runMeshlabserverCommand( << " -i " << sourceFile << " -o " << targetFile; - if (scaling != 1.0f) + if (scaling != 1.0f) { convertCommand << " -s " << createScript(scaling); + } // run command VR_INFO << "----------------------------------------------------------" << std::endl; -- GitLab