908 adds a property is_slice to workspaces to differentiate between slices and cuts. When you perform a binary operation on an mslice workspace, this property was not passed onto the new resultant workspace and therefore lost.
This ultimately caused a crash when setting the intensity of a slice.
To test:
1) Plot a slice.
2) Change intensity to chi
3) Observe no crash
Description of work:
908 adds a property
is_slice
to workspaces to differentiate between slices and cuts. When you perform a binary operation on anmslice
workspace, this property was not passed onto the new resultant workspace and therefore lost.This ultimately caused a crash when setting the intensity of a slice.
To test: 1) Plot a slice. 2) Change intensity to
chi
3) Observe no crashFixes #916