From 159a8293506d15f53d2c975d47cd3db516c0b0b7 Mon Sep 17 00:00:00 2001 From: ahcorde Date: Mon, 13 Jul 2020 10:35:24 +0200 Subject: [PATCH] Fixed else brackets introduced in #2768 Signed-off-by: ahcorde --- gazebo/rendering/Visual.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gazebo/rendering/Visual.cc b/gazebo/rendering/Visual.cc index e511ff2b64..eb68bf5558 100644 --- a/gazebo/rendering/Visual.cc +++ b/gazebo/rendering/Visual.cc @@ -817,7 +817,9 @@ void Visual::SetScale(const ignition::math::Vector3d &_scale) { this->dataPtr->sceneNode->setScale( Conversions::Convert(this->dataPtr->scale)); - } else { + } + else + { gzerr << Name() << ": Size of the collision contains one or several zeros." << " Collisions may not visualize properly." << std::endl; }