Text node: new lines not restored

New lines are not restored when opening a saved scene.

If the scene project file has the following :

<Text
  id="vtkMRMLTextNode2" name="Text_1" hideFromEditors="false" selectable="true" selected="false" userTags="" text="x
y
z
" encoding="3" ></Text>

selecting Text_1 node shows ‘x y z’ without the new lines.

I suppose it needs a fix, thanks for looking into this.

Good catch. It’ll be fixed in the Slicer Preview Release by tomorrow.

1 Like