In the GUI, Scaling to db with invalid prepost_fit bounds (i.e. empty) causes an error, but then still creates a new object, where nothing should be created.
To reproduce the error
Load GUI
Enable "Fix Distortions" on the "Polystyrene" data.
"Scale to DB"
In the GUI,
Scaling to dbwith invalid prepost_fit bounds (i.e. empty) causes an error, but then still creates a new object, where nothing should be created.To reproduce the error