Skip to content

Resolve "fix(viz): grid adaptor disappears when the view is aligned with Y axis"

Description

This removes the computation of the bounding box of the grid. It was wrong (the Y was set to 0 instead of m_elevation), but anyway, Ogre::ManualObject already computes it when adding a position.

Closes #1182 (closed)

How to test it?

  • Open sightviewer.
  • Display the axis.
  • Move the camera and align it with Y (green) more or less precisely.
  • The grid no longer disappears.
Edited by Flavien BRIDAULT

Merge request reports