Skip to content

(STransferFunction): avoid assert when icons path are not initialized

Bénédicte MALGARINI requested to merge fix-STransferFunction into dev

What does this MR do?

Fix crash when icons path are not initialized in StransferFunction service.
When icons path were not defined, we have this assert: Assertion 'path.is_relative()' failed. Path should be relative

How to test it?

  • Build and launch an application using STranseferFunction
  • Without this fix, the application should crash
  • With this fix, the application should work as before.

Test that this fix does'nt impact other applications using STransferFunction

Data

CT image

Associated Issues/Merge Requests

  • Issues
Edited by Bénédicte MALGARINI

Merge request reports