mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-01 03:05:37 +05:00
fix DriverMED_Family::Init()
This commit is contained in:
parent
2ea7fb42a0
commit
72a4218868
@ -385,9 +385,9 @@ void DriverMED_Family::Init (SMESHDS_GroupBase* theGroup)
|
|||||||
double aRed = aColor.Red();
|
double aRed = aColor.Red();
|
||||||
double aGreen = aColor.Green();
|
double aGreen = aColor.Green();
|
||||||
double aBlue = aColor.Blue();
|
double aBlue = aColor.Blue();
|
||||||
int aR = (int) aRed*255;
|
int aR = int( aRed*255 );
|
||||||
int aG = (int) aGreen*255;
|
int aG = int( aGreen*255 );
|
||||||
int aB = (int) aBlue*255;
|
int aB = int( aBlue*255 );
|
||||||
// cout << "aRed = " << aR << endl;
|
// cout << "aRed = " << aR << endl;
|
||||||
// cout << "aGreen = " << aG << endl;
|
// cout << "aGreen = " << aG << endl;
|
||||||
// cout << "aBlue = " << aB << endl;
|
// cout << "aBlue = " << aB << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user