Commit 8cb731c2 authored by Frédéric Larue's avatar Frédéric Larue

Bug due to missing virtual destructors fixed in selection managers.

parent b973642c
......@@ -37,6 +37,7 @@ class SelectionManagerImageTexels : public TexelSelectionManager
public:
SelectionManagerImageTexels( int x, int y, int w, int h );
virtual ~SelectionManagerImageTexels() {}
void onRecompilingSelectionShader( SelectionTool *tool );
void onUpdatingSelection( SelectionTool *tool );
......
......@@ -35,6 +35,7 @@ public:
SelectionManagerMeshFaces( GPU::VBO &meshVBO,
const std::string& posAttribName,
bool useIndices );
virtual ~SelectionManagerMeshFaces() {}
void onRecompilingSelectionShader( SelectionTool *tool );
void onUpdatingSelection( SelectionTool *tool );
......
......@@ -33,6 +33,7 @@ public:
SelectionManagerMeshTexels( GPU::VBO& meshVBO,
const std::string& posAttribName,
const std::string& uvAttribName );
virtual ~SelectionManagerMeshTexels() {}
void onRecompilingSelectionShader( SelectionTool *tool );
void onUpdatingSelection( SelectionTool *tool );
......
......@@ -39,6 +39,7 @@ public:
const std::string& posAttribName,
const std::string& norAttribName,
bool occlusionTestNeeded = false );
virtual ~SelectionManagerMeshVertices() {}
void onRecompilingSelectionShader( SelectionTool *tool );
void onUpdatingSelection( SelectionTool *tool );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment