From b064f2ce47fc0c6bf35672bfc1397e9b7c121d3a Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 26 May 2015 11:55:20 +0300 Subject: [PATCH] Can display method can not change displaying property --- src/PartSet/PartSet_SketcherMgr.cpp | 4 ---- 1 file changed, 4 deletions(-) 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. -- 2.39.2