+ fix a memory leak in mesh selection
This commit is contained in:
parent
35fa65ec96
commit
d891ddba33
|
@ -170,6 +170,8 @@ void MeshSelection::prepareBrushSelection(bool add,SoEventCallbackCB *cb)
|
|||
if (viewer) {
|
||||
stopInteractiveCallback(viewer);
|
||||
startInteractiveCallback(viewer, cb);
|
||||
viewer->navigationStyle()->stopSelection();
|
||||
|
||||
// set cross cursor
|
||||
Gui::BrushSelection* brush = new Gui::BrushSelection();
|
||||
brush->setClosed(true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user