Small refactoring
This commit is contained in:
parent
4d39050dcd
commit
ed0f3b3406
2 changed files with 2 additions and 3 deletions
|
@ -10,9 +10,6 @@
|
|||
#include "PresetBundle.hpp"
|
||||
#include "Gizmos/GLGizmoBase.hpp"
|
||||
#include "GLCanvas3D.hpp"
|
||||
#if ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
#include "GLCanvas3DManager.hpp"
|
||||
#endif // ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
|
|
|
@ -56,7 +56,9 @@ View3D::~View3D()
|
|||
_3DScene::remove_canvas(m_canvas_widget);
|
||||
#endif // !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
delete m_canvas_widget;
|
||||
#if !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
m_canvas = nullptr;
|
||||
#endif // !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue