Salome HOME
Mantis issues 0021432 and 0021404: MakeFace[Wires] should generate exception on attem...
[modules/geom.git] / src / OBJECT / GEOM_Actor.cxx
index 9b956bf68619c68e24455218a7ee0aeb988ff6d7..bc9c5c9f19dee6f0d1792b8d58a7d30acb3cac60 100644 (file)
@@ -1012,7 +1012,7 @@ void GEOM_Actor::SetIsosWidth(const int width) {
 }
 
 int GEOM_Actor::GetIsosWidth() const {
-  return myWireframeFaceActor->GetProperty()->GetLineWidth();
+  return (int)myWireframeFaceActor->GetProperty()->GetLineWidth();
 }
 
 void GEOM_Actor::SetWidth(const int width) {
@@ -1025,7 +1025,7 @@ void GEOM_Actor::SetWidth(const int width) {
 }
 
 int GEOM_Actor::GetWidth() const {
-  return myIsolatedEdgeActor->GetProperty()->GetLineWidth();
+  return (int)myIsolatedEdgeActor->GetProperty()->GetLineWidth();
 }
     
 void GEOM_Actor::RestoreIsoNumbers()