]> Creatis software - creaMaracasVisu.git/commitdiff
#3065 creaMaracasVisu Bug New Normal - Refresh manual contour
authorEduardo DAVILA <davila@localhost.localdomain>
Thu, 14 Dec 2017 20:54:39 +0000 (21:54 +0100)
committerEduardo DAVILA <davila@localhost.localdomain>
Thu, 14 Dec 2017 20:54:39 +0000 (21:54 +0100)
lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualViewRoi.cpp

index 1eb8d06da4f695dde1c27af09d2a5e4fa4f03a10..868494839f3b76c9f980a93a0a35ed963f20b350 100644 (file)
@@ -87,8 +87,10 @@ void manualViewRoi::RefreshContour() // virtual
        }
 
 //EED 2017-03-02
-       _pts->Modified();
-
+       if (_pts!=NULL) 
+       {
+               _pts->Modified();
+       }
 }
 
 // ----------------------------------------------------------------------------