]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx
*** empty log message ***
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxVtkBaseView_SceneManager.cxx
index ea195fe6204bc25251441eb8e4e9c4e9f46d5f4f..0ede4c607c2d1d8de97d3dfe576fbe0e1fbf8027 100644 (file)
@@ -77,12 +77,12 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP )
                        _contours_ViewControl->erase( iter );
                        i++;
                }
-               delete _contours_ViewControl;
                _contours_ViewControl->clear();         
+               delete _contours_ViewControl;           
                _workingGroup->clear();
                delete _lastInteraction;
                delete _workingGroup;
-               delete _contours_ViewControl;
+               //delete _contours_ViewControl;
        }
 
        //------------------------------------------------------------------------------------------------------------