Salome HOME
Porting on OCCT 7.0 and Qt 5. Make compilable version.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Polyline.cxx
index 7fd3e7184e80180f4851b192f9d940f11940e8aa..6091415e8a3e4c3f5d5f632cc3558576492cd8a3 100644 (file)
@@ -41,7 +41,6 @@
 #include <BRepAdaptor_Curve.hxx>
 #include <Prs3d_LineAspect.hxx>
 
-IMPLEMENT_STANDARD_HANDLE (HYDROGUI_Polyline, AIS_Shape)
 IMPLEMENT_STANDARD_RTTIEXT(HYDROGUI_Polyline, AIS_Shape)
 
 
@@ -83,6 +82,7 @@ void HYDROGUI_Polyline::Compute(const Handle(PrsMgr_PresentationManager3d)& aPre
   Aspect_TypeOfLine aType;
   Standard_Real anWidth;
   Attributes()->LineAspect()->Aspect()->Values( aColor, aType, anWidth );
+  anWidth =2;
   Handle(Graphic3d_AspectLine3d) anAspect = new Graphic3d_AspectLine3d( aColor, aType, anWidth );
 
   TopExp_Explorer Exp1 ( myshape, TopAbs_EDGE );