fix DriverMED_Family::Init()

This commit is contained in:
eap 2008-04-08 12:14:41 +00:00
parent 2ea7fb42a0
commit 72a4218868

View File

@ -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;