Skip to content

Commit

Permalink
Fix scaling of PointVisual's sphere (#1678)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke authored Nov 3, 2021
1 parent 7ef2068 commit 2386d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz/default_plugin/point_visual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PointStampedVisual::~PointStampedVisual()

void PointStampedVisual::setMessage(const geometry_msgs::PointStamped::ConstPtr& msg)
{
Ogre::Vector3 scale(radius_, radius_, radius_);
Ogre::Vector3 scale(2 * radius_, 2 * radius_, 2 * radius_);
point_->setScale(scale);

// Set the orientation of the arrow to match the direction of the
Expand Down

0 comments on commit 2386d5e

Please sign in to comment.