//ED02JUIN2010 _sceneManager->disconnectDrop();
_panelsManager->VerifyLastTabPanel();
+ //FCY memory leaks
+ delete _panelAUIMgr;
+ delete _sceneManager;
}
void wxGEditorTabPanel::centerView()
{
- _sceneManager->centerView();
+ if(_sceneManager)
+ {
+ _sceneManager->centerView();
+ }
}
//=========================================================================
#include <vtkPolygon.h>
#include <vtkUnstructuredGrid.h>
-
namespace bbtk
{
wxVtkSceneManager::~wxVtkSceneManager()
{
+ //FCY memory leaks
printf ("EED %p ~wxVtkSceneManager()\n" , this );
disconnectDrop();
+ delete _baseView;
}
//=========================================================================