Salome HOME
#29335 [CEA 29224] Cannot graphicaly select geometry to create groups: implement...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshOp.cxx
index e0c88fa1788b406a782cd7b5257525d3fa359545..5b2f605a16159e8ccdb10c52769cbc64d81a1783 100644 (file)
@@ -355,7 +355,7 @@ bool SMESHGUI_MeshOp::isSubshapeOk() const
     GEOM::GEOM_Object_var subGeom =
       GEOM::GEOM_Object::_narrow(_CAST(SObject,pSubGeom)->GetObject());
 
-    if ( SMESH::ContainsSubShape( mainGeom, subGeom ))
+    if ( SMESH::ContainsSubShape( mainGeom, subGeom, false ))
       return true;
   }