(viz): do no reset VR clipping mask each time the image is updated
Description
When an image is updated, the VR clipping mask is automatically reset. We should only do it when the image size changes, which implies the image is really different.
Steps to reproduce
- Launch SightViewer
- Load an image
- Crop a region with the freehand tool
- Load the same image
- Observe the crop is reset
Functional specifications
Only reset the crop mask when the image size changes.
Technical specifications
Do this in the image_extruder
.
Test plan
Repeat Steps to reproduce