Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea7fb4
)
fix DriverMED_Family::Init()
author
eap
<eap@opencascade.com>
Tue, 8 Apr 2008 12:14:41 +0000
(12:14 +0000)
committer
eap
<eap@opencascade.com>
Tue, 8 Apr 2008 12:14:41 +0000
(12:14 +0000)
src/DriverMED/DriverMED_Family.cxx
patch
|
blob
|
history
diff --git
a/src/DriverMED/DriverMED_Family.cxx
b/src/DriverMED/DriverMED_Family.cxx
index 81bfed53462567a13d76cafd977853d62abdb83f..69265bb1de1b766f103abb7925a550b5eed96d65 100644
(file)
--- a/
src/DriverMED/DriverMED_Family.cxx
+++ b/
src/DriverMED/DriverMED_Family.cxx
@@
-385,9
+385,9
@@
void DriverMED_Family::Init (SMESHDS_GroupBase* theGroup)
double aRed = aColor.Red();
double aGreen = aColor.Green();
double aBlue = aColor.Blue();
- int aR =
(int) aRed*255
;
- int aG =
(int) aGreen*255
;
- int aB =
(int) aBlue*255
;
+ int aR =
int( aRed*255 )
;
+ int aG =
int( aGreen*255 )
;
+ int aB =
int( aBlue*255 )
;
// cout << "aRed = " << aR << endl;
// cout << "aGreen = " << aG << endl;
// cout << "aBlue = " << aB << endl;