Salome HOME
Fix for the issue #2723 : result is shown in viewer after remove feature with parameter
[modules/shaper.git] / src / Model / Model_ResultConstruction.cpp
index b1ec3c9fc5aba4f71078d9e47c78f842c2d79ec3..8fc24dd9592e97cf3d5b7b4419ba891cd71c04f1 100644 (file)
@@ -73,10 +73,6 @@ void Model_ResultConstruction::setShape(std::shared_ptr<GeomAPI_Shape> theShape)
       ModelAPI_EventCreator::get()->sendUpdated(data()->owner(), anEvent);
     }
     myShape = theShape;
-    if (myShape.get() && myShape->shapeType() == GeomAPI_Shape::COMPOUND &&
-      std::dynamic_pointer_cast<GeomAPI_PlanarEdges>(myShape).get() == NULL) {
-      int a= 10;
-    }
   }
 }