Call releaseMouseModel() in stopSelection() of navigation style
This commit is contained in:
@@ -1088,8 +1088,11 @@ void NavigationStyle::startSelection(NavigationStyle::SelectionMode mode)
|
||||
void NavigationStyle::stopSelection()
|
||||
{
|
||||
pcPolygon.clear();
|
||||
delete mouseSelection;
|
||||
mouseSelection = 0;
|
||||
if (mouseSelection) {
|
||||
mouseSelection->releaseMouseModel();
|
||||
delete mouseSelection;
|
||||
mouseSelection = 0;
|
||||
}
|
||||
}
|
||||
|
||||
SbBool NavigationStyle::isSelecting() const
|
||||
|
||||
Reference in New Issue
Block a user