From: vsv Date: Tue, 26 May 2015 08:55:20 +0000 (+0300) Subject: Can display method can not change displaying property X-Git-Tag: V_1.2.0~82 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b064f2ce47fc0c6bf35672bfc1397e9b7c121d3a;p=modules%2Fshaper.git Can display method can not change displaying property --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 339e26101..aa42a16f9 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -843,10 +843,6 @@ bool PartSet_SketcherMgr::canDisplayObject(const ObjectPtr& theObject) const } } } - if (!isObjectFound) { - theObject->setDisplayed(aCanDisplay); // If it be set into True - set to False - return aCanDisplay; - } // 4. For created nested feature operation do not display the created feature if // the mouse curstor leaves the OCC window.