From: mpv Date: Tue, 11 Nov 2014 09:28:36 +0000 (+0300) Subject: Fixed the crash on selection of sketch in PartSet X-Git-Tag: V_0.5~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cd373d04c5cb4b75fb96716c370a7deae54eddcf;p=modules%2Fshaper.git Fixed the crash on selection of sketch in PartSet --- diff --git a/src/ModuleBase/ModuleBase_ViewerFilters.cpp b/src/ModuleBase/ModuleBase_ViewerFilters.cpp index c18fd0eae..1d17c6859 100644 --- a/src/ModuleBase/ModuleBase_ViewerFilters.cpp +++ b/src/ModuleBase/ModuleBase_ViewerFilters.cpp @@ -37,7 +37,7 @@ Standard_Boolean ModuleBase_ShapeDocumentFilter::IsOk(const Handle(SelectMgr_Ent if (aObj) { DocumentPtr aDoc = aObj->document(); SessionPtr aMgr = ModelAPI_Session::get(); - return (aDoc == aMgr->activeDocument()) || (aDoc == aMgr->moduleDocument()); + return (aDoc == aMgr->activeDocument() /* MPV: for the current moment selection in other document is not possible || (aDoc == aMgr->moduleDocument()*/); } } }