Import 2017-06-07 23:51:09: master 87e81f68

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-10-19 15:40:46 master d6a2f6c0
Affected Issues 0004043: Slice annotations turn into a white box after scene close
Changeset

BUG: SliceViewAnnotations: Do not show blank when corner annotation is off.

Fixes 0004043

Note that while setting the text of the corner annotation to a space
avoid the blank area from showing up, this doesn't address the root cause.
There is probably something wrong in either ctkVTKSliceView or VTK itself.

The problem is still reproducible running the following snippet in the
Slicer python interactor:

v = ctk.ctkVTKSliceView()
v.show()
v.cornerAnnotationText = "Hello"
v.forceRender()
v.cornerAnnotationText = ""
v.forceRender()

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24649 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/Scripted/DataProbe/DataProbeLib/SliceViewAnnotations.py Diff File