Skip to content

Commit

Permalink
Fix assertion in billboard_line.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Oct 29, 2021
1 parent 164894d commit 7ef2068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz/ogre_helpers/billboard_line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void BillboardLine::addPoint(const Ogre::Vector3& point, const Ogre::ColourValue
++num_elements_[current_line_];
++total_elements_;

ROS_ASSERT(num_elements_[current_line_] < max_points_per_line_);
ROS_ASSERT(num_elements_[current_line_] <= max_points_per_line_);

Ogre::BillboardChain::Element e;
e.position = point;
Expand Down

0 comments on commit 7ef2068

Please sign in to comment.