]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx
This commit was manufactured by cvs2svn to create tag
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxVtkSceneManager.cxx
index 3740f982be9afc20d9c3e585f6913dc7afae0a2f..1c13d7d0d4e3201f56fe7260ecfe0a5f6724b581 100644 (file)
@@ -39,6 +39,7 @@ Version:   $Revision$
  #include <vtkPolygon.h>
  #include <vtkUnstructuredGrid.h>
 
+
 namespace bbtk
 {
 
@@ -90,17 +91,14 @@ namespace bbtk
 
        wxVtkSceneManager::~wxVtkSceneManager()
        {
-               //FCY memory leaks
                printf ("EED %p ~wxVtkSceneManager()\n" , this );
                disconnectDrop();
-               delete _baseView;
        }
 
        //=========================================================================
 
        void wxVtkSceneManager::configureBaseView()
        {
-printf("EED wxVtkSceneManager::configureBaseView 0\n");
                vtkInteractorStyleBaseView2D *interactorstylebaseview = vtkInteractorStyleBaseView2D::New();
 
                _baseView->SetInteractorStyleBaseView(interactorstylebaseview);
@@ -187,7 +185,6 @@ printf("EED wxVtkSceneManager::configureBaseView 0\n");
                _aPolygonMapper->Modified();
 
                _baseView->GetRenderer()->AddActor( _fillObjectActor );
-printf("EED wxVtkSceneManager::configureBaseView 1\n");
        }
 
        //=========================================================================