From cbf1b2af4799672fe4a644424dc0a3f0c2931782 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Thu, 12 Oct 2023 06:05:16 +0300 Subject: [PATCH] HPGL plotting: fix random lines connecting to circles. (cherry picked from commit 45791ff8d6305cbaf33c4febe5a14dbe113ae49e) --- common/plotters/HPGL_plotter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/plotters/HPGL_plotter.cpp b/common/plotters/HPGL_plotter.cpp index 09b0752929..7dd16a2ad9 100644 --- a/common/plotters/HPGL_plotter.cpp +++ b/common/plotters/HPGL_plotter.cpp @@ -429,7 +429,6 @@ void HPGL_PLOTTER::Circle( const VECTOR2I& aCenter, int aDiameter, FILL_T aFill, chord_angle.AsDegrees(), hpgl_end_polygon_cmd ) ); m_current_item->lift_before = true; - m_current_item->pen_returns = true; m_current_item->bbox.Merge( BOX2D( center_dev - radius, VECTOR2D( 2 * radius, 2 * radius ) ) ); PenFinish(); @@ -442,7 +441,6 @@ void HPGL_PLOTTER::Circle( const VECTOR2I& aCenter, int aDiameter, FILL_T aFill, radius, chord_angle.AsDegrees() ) ); m_current_item->lift_before = true; - m_current_item->pen_returns = true; m_current_item->bbox.Merge( BOX2D( center_dev - radius, VECTOR2D( 2 * radius, 2 * radius ) ) ); PenFinish();