0031174: Visualization - support user-provided stipple line patterns
[occt.git] / src / Graphic3d / Graphic3d_AspectLine3d.cxx
index 33db0ac..757c347 100644 (file)
@@ -39,6 +39,6 @@ Graphic3d_AspectLine3d::Graphic3d_AspectLine3d (const Quantity_Color& theColor,
 {
   myShadingModel = Graphic3d_TOSM_UNLIT;
   myInteriorColor.SetRGB (theColor);
-  myLineType = theType;
+  SetLineType (theType);
   SetLineWidth ((float)theWidth);
 }