Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/ignition/rendering/base/BaseJointVisual.hh
Original file line number Diff line number Diff line change
@@ -425,6 +425,10 @@ namespace ignition
else
return;

// Don't change the visibility of joint child axis
if (this->ArrowVisual() != _arrowVisual)
return;

// Hide existing arrow head if it overlaps with the axis
auto axisWorldRotation = _arrowVisual->WorldPose().Rot();
auto jointWorldRotation = this->WorldPose().Rot();

0 comments on commit 04b2af1

Please sign in to comment.