mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
Issue 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
This commit is contained in:
parent
9e0ab432cc
commit
e9aead38a5
@ -165,11 +165,12 @@ SMESH::ElementType SMESH_GroupBase_i::GetType()
|
||||
SMDSAbs_ElementType aSMDSType = aGroupDS->GetType();
|
||||
SMESH::ElementType aType;
|
||||
switch (aSMDSType) {
|
||||
case SMDSAbs_Node: aType = SMESH::NODE; break;
|
||||
case SMDSAbs_Edge: aType = SMESH::EDGE; break;
|
||||
case SMDSAbs_Face: aType = SMESH::FACE; break;
|
||||
case SMDSAbs_Volume: aType = SMESH::VOLUME; break;
|
||||
default: aType = SMESH::ALL; break;
|
||||
case SMDSAbs_Node: aType = SMESH::NODE; break;
|
||||
case SMDSAbs_Edge: aType = SMESH::EDGE; break;
|
||||
case SMDSAbs_Face: aType = SMESH::FACE; break;
|
||||
case SMDSAbs_Volume: aType = SMESH::VOLUME; break;
|
||||
case SMDSAbs_0DElement: aType = SMESH::ELEM0D; break;
|
||||
default: aType = SMESH::ALL; break;
|
||||
}
|
||||
return aType;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user