+ To avoid possible memory leaks or inconsistencies on Document::resetEdit() call finishEditing() of view provider inside document because the editing view could be closed already
This commit is contained in:
@@ -667,7 +667,6 @@ void View3DInventorViewer::resetEditingViewProvider()
|
||||
{
|
||||
if (this->editViewProvider) {
|
||||
this->editViewProvider->unsetEditViewer(this);
|
||||
this->editViewProvider->finishEditing();
|
||||
removeEventCallback(SoEvent::getClassTypeId(), Gui::ViewProvider::eventCallback,this->editViewProvider);
|
||||
this->editViewProvider = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user