mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 06:00:32 +05:00
0021248: EDF SMESH: Dump and ExportToMED
+ TPythonDump()<<_this()<<".SetColor( "<<color.R<<", "<<color.G<<", "<<color.B<<" )";
This commit is contained in:
parent
d6f77dcbc8
commit
171ee633a8
@ -478,10 +478,9 @@ void SMESH_GroupBase_i::SetColor(const SALOMEDS::Color& color)
|
|||||||
if (aGroupDS)
|
if (aGroupDS)
|
||||||
{
|
{
|
||||||
Quantity_Color aQColor( color.R, color.G, color.B, Quantity_TOC_RGB );
|
Quantity_Color aQColor( color.R, color.G, color.B, Quantity_TOC_RGB );
|
||||||
return aGroupDS->SetColor(aQColor);
|
aGroupDS->SetColor(aQColor);
|
||||||
|
TPythonDump()<<_this()<<".SetColor( "<<color.R<<", "<<color.G<<", "<<color.B<<" )";
|
||||||
}
|
}
|
||||||
MESSAGE("set color of a group");
|
|
||||||
return ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
@ -507,7 +506,10 @@ void SMESH_GroupBase_i::SetColorNumber(CORBA::Long color)
|
|||||||
{
|
{
|
||||||
SMESHDS_GroupBase* aGroupDS = GetGroupDS();
|
SMESHDS_GroupBase* aGroupDS = GetGroupDS();
|
||||||
if (aGroupDS)
|
if (aGroupDS)
|
||||||
return aGroupDS->SetColorGroup(color);
|
{
|
||||||
|
aGroupDS->SetColorGroup(color);
|
||||||
|
TPythonDump()<<_this()<<".SetColorGroup( "<<color<<" )";
|
||||||
|
}
|
||||||
MESSAGE("set color number of a group");
|
MESSAGE("set color number of a group");
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user