]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Can display method can not change displaying property
authorvsv <vitaly.smetannikov@opencascade.com>
Tue, 26 May 2015 08:55:20 +0000 (11:55 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Tue, 26 May 2015 08:55:20 +0000 (11:55 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 339e26101f43a050af6138bc4f8bb3f48a76767d..aa42a16f95481a535ed50dda84a6e568777c6594 100644 (file)
@@ -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.