Import 2017-06-07 23:51:09: master ecebc638
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
lassoan | lassoan | master | 2016-08-08 21:03:12 | master ae482947 |
Changeset | ENH: Fixed warning when slice intersection display enabled for empty polydata When a new model node was created (or polydata was reset in an existing model node) and model slice intersection display was enabled then VTK logged a lot of warnings. It is a normal use case to have empty model node, so no warnings should be logged. Added a check so that now if the polydata is NULL or does not contain any points then the model slice intersection actor visibility is turned off. How to reproduce: p = vtk.vtkPolyData()
|
|||
mod - Libs/MRML/DisplayableManager/vtkMRMLModelSliceDisplayableManager.cxx | Diff File |