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
e9aead38a5
commit
6468f538ec
@ -690,6 +690,8 @@
|
|||||||
anActor->SetNodeColor( aColor.R, aColor.G, aColor.B );
|
anActor->SetNodeColor( aColor.R, aColor.G, aColor.B );
|
||||||
else if( aGroupObject->GetType() == SMESH::EDGE )
|
else if( aGroupObject->GetType() == SMESH::EDGE )
|
||||||
anActor->SetEdgeColor( aColor.R, aColor.G, aColor.B );
|
anActor->SetEdgeColor( aColor.R, aColor.G, aColor.B );
|
||||||
|
else if( aGroupObject->GetType() == SMESH::ELEM0D )
|
||||||
|
anActor->Set0DColor( aColor.R, aColor.G, aColor.B );
|
||||||
else
|
else
|
||||||
anActor->SetSufaceColor( aColor.R, aColor.G, aColor.B );
|
anActor->SetSufaceColor( aColor.R, aColor.G, aColor.B );
|
||||||
}
|
}
|
||||||
|
@ -594,6 +594,8 @@ namespace SMESH
|
|||||||
anActor->SetNodeColor( aColor.R, aColor.G, aColor.B );
|
anActor->SetNodeColor( aColor.R, aColor.G, aColor.B );
|
||||||
else if( aGroup->GetType() == SMESH::EDGE )
|
else if( aGroup->GetType() == SMESH::EDGE )
|
||||||
anActor->SetEdgeColor( aColor.R, aColor.G, aColor.B );
|
anActor->SetEdgeColor( aColor.R, aColor.G, aColor.B );
|
||||||
|
else if( aGroup->GetType() == SMESH::ELEM0D )
|
||||||
|
anActor->Set0DColor( aColor.R, aColor.G, aColor.B );
|
||||||
else
|
else
|
||||||
anActor->SetSufaceColor( aColor.R, aColor.G, aColor.B );
|
anActor->SetSufaceColor( aColor.R, aColor.G, aColor.B );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user