mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
Fix for PAL8380(Can't create a Group of Nodes from a group on geometry).
This commit is contained in:
parent
27c14592b7
commit
ec914f9caa
@ -855,7 +855,7 @@ int SMESHDS_Mesh::AddCompoundSubmesh(const TopoDS_Shape& S,
|
|||||||
TopAbs_ShapeEnum type)
|
TopAbs_ShapeEnum type)
|
||||||
{
|
{
|
||||||
int aMainIndex = 0;
|
int aMainIndex = 0;
|
||||||
if ( IsGroupOfSubShapes( S ))
|
if ( IsGroupOfSubShapes( S ) || (S.ShapeType() == TopAbs_VERTEX && myIndexToShape.Contains(S)) )
|
||||||
{
|
{
|
||||||
aMainIndex = myIndexToShape.Add( S );
|
aMainIndex = myIndexToShape.Add( S );
|
||||||
bool all = ( type == TopAbs_SHAPE );
|
bool all = ( type == TopAbs_SHAPE );
|
||||||
|
Loading…
Reference in New Issue
Block a user