Centered Jump Slice doesn't restore

I have a scene file that I’ve switched to use Centered Jump Slice crosshair behavior. But when I save the file, quit slicer, restart slicer, and open the file, the Centered Jump Slice behavior isn’t restored, and I get the following error:

Failed to read #xmlAttributeName attribute value from string 'CenteredJumpSlice'

I looked through the code to see if it should be “Centered Jump Slice” instead of “CenteredJumpSlice” but didn’t see anything obvious… Any ideas?

Thanks!!!

I did also notice this while grepping through the code:

Libs/MRML/Core/vtkMRMLCrosshairNode.h:      CenteredJumpSlice = 2,
Libs/MRML/Core/vtkMRMLSliceNode.h:  enum {DefaultJumpSlice=-1, CenteredJumpSlice=0, OffsetJumpSlice};

Shouldn’t matter, because these are in different name spaces (different classes)?

Thank you good catch, it was just a side effect of some line reordering. I’ll push a fix today.

Awesome, thanks again!