(graphics): improve scene resetting
requested to merge 612-graphics-do-not-take-non-visible-objects-to-calculate-the-word-bounding-box into dev
Description
- Compute the world bounding box without non-visible objects.
- Add a slot to reset the scene in SRender
Closes #612 (closed)
How to test it?
- Launch
OgreViewer
. - Load an image.
- Add some meshes with the punch tool.
- Show them.
- Try to reset the scene (Key:
R
) with and without meshes visible.