Skip to content

Commit

Permalink
DARTHeightmapShape: set flipY = false
Browse files Browse the repository at this point in the history
This variable was uninitialized and was causing problems
with asymmetric heightmaps.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Aug 8, 2020
1 parent 15867fd commit 18a0a02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gazebo/physics/dart/DARTHeightmapShape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ DARTHeightmapShape::DARTHeightmapShape(DARTCollisionPtr _parent)
: HeightmapShape(_parent),
dataPtr(new DARTHeightmapShapePrivate<HeightmapShape::HeightType>())
{
this->flipY = false;
}

//////////////////////////////////////////////////
Expand Down

0 comments on commit 18a0a02

Please sign in to comment.