Import 2017-06-07 23:51:09: master e6f4f135

Author Committer Branch Timestamp Parent
johan.andruejol johan.andruejol master 2015-03-02 17:53:15 master 47579984
Changeset

BUG: Do not disable the picking in 2D, widget is never pickable 0003971

This prevent the following error to appear when using 2D projection:
ERROR: In c:\d\p\slicer-440-package\vtkv6\interaction\widgets\vtkWidgetRepresentation.h, line 176
vtkPointHandleRepresentation2D (0000000010537080): Subclass should allow enable/disable picking

The fix is to remove the DisablePicking call. It's not used since for the
2D projection, the widget is never enabled (i.e. it's visible but the user
cannot interact with it). For reference, the disable call is here at
line 783 of vtkMRMLMarkupsFiducialDisplayableManager2D.cxx.

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

mod - Modules/Loadable/Markups/MRMLDM/vtkMRMLMarkupsFiducialDisplayableManager2D.cxx Diff File