Fix segfault in Ice and Monteverdi

Merged Julien Osman requested to merge ice-segfault into develop


Add a default ImageMetadata in the ViewSettings so it doesn't generate a SegFault in case the ImageMetadata is not set.


Monteverdi crashs when trying to load a product containing a Sensor Model. This MR fixes this issue

Implementation Details

Classes and files

Add a private ImageMetadata in ViewSettings used for initialization.


The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.

Check before merging:

  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
  • Optionally, run git diff develop... -U0 --no-color | -p1 -i on latest changes and commit

Merge request reports