Skip to content

Commit

Permalink
Fixed else brackets introduced in #2768
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <ahcorde@gmail.com>
  • Loading branch information
ahcorde committed Jul 13, 2020
1 parent 899af42 commit 159a829
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gazebo/rendering/Visual.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 159a829

Please sign in to comment.