]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
authoreap <eap@opencascade.com>
Fri, 17 Sep 2010 05:36:15 +0000 (05:36 +0000)
committereap <eap@opencascade.com>
Fri, 17 Sep 2010 05:36:15 +0000 (05:36 +0000)
commite350ffef91f9c13e43046073a96f6c75f96a1c17
tree23a8c68d2a0d5ca121598a6c793c1e4e5194f6b1
parente0baca518ca2fcd516f8e27d01ddef9de758b0df
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
-    if ( !subMeshId )
+    if ( !subMeshId && ! _impl->GetMeshDS()->IsGroupOfSubShapes( myLocSubShape ))
       THROW_SALOME_CORBA_EXCEPTION("not sub-shape of the main shape", SALOME::BAD_PARAM);
src/SMESH_I/SMESH_Mesh_i.cxx