- in Excellon Editor and Geometry Editor solved some Shapely 2.0 deprecation warnings
- in Excellon Editor made sure that the tool diameter is always updated before adding a new drill (or drill array) - changing units is not possible while in Editors - changing units outside the Preferences will make no permanent changes - deleting all shapes from the shapes collection (OpenGl graphics) will reset also the index in the collection data dict
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
# ##########################################################
|
||||
# File modified by: Marius Stanciu #
|
||||
# ##########################################################
|
||||
from PyQt6 import QtGui
|
||||
|
||||
from appEditors.AppTextEditor import AppTextEditor
|
||||
from appObjects.FlatCAMObj import *
|
||||
|
||||
@@ -943,7 +943,7 @@ class GerberObject(FlatCAMObj, Gerber):
|
||||
|
||||
plot_geometry = geometry.geoms if isinstance(geometry, (MultiPolygon, MultiLineString)) else geometry
|
||||
for g in plot_geometry:
|
||||
if isinstance(g, (Polygon, LineString)):
|
||||
if isinstance(g, (Polygon, LineString, LinearRing)):
|
||||
self.add_shape(shape=g, color=used_color, face_color=used_face_color, visible=visible)
|
||||
|
||||
self.shapes.redraw(
|
||||
|
||||
Reference in New Issue
Block a user