Skip to content

(SMesh): fix auto reset in mesh adaptor

Emilie WERNERT requested to merge fix-smesh-autoresetcamera into dev

What does this MR do?

Fix auto reset camera in ::visuOgreAdaptor::SMesh:

  • call auto reset when the vertices are modified
  • call request render when the adaptor is started

How to test it?

Launch an application displaying US images with an ogre scene.
The US image should be properly centered.

Some results

Before:

Capture_du_2019-11-26_11-13-00

**After: **

Capture_du_2019-11-26_10-55-00

Edited by Emilie WERNERT

Merge request reports