- Tools Database - remade the UI
- made sure that the serializable attributes are added correctly and only once (self.ser_attrs)
This commit is contained in:
@@ -478,9 +478,6 @@ class Geometry(object):
|
||||
# Final geometry: MultiLineString or list (of LineString or Points)
|
||||
self.follow_geometry = None
|
||||
|
||||
# Attributes to be included in serialization
|
||||
self.ser_attrs = ["units", 'solid_geometry', 'follow_geometry']
|
||||
|
||||
# Flattened geometry (list of paths only)
|
||||
self.flat_geometry = []
|
||||
|
||||
@@ -503,6 +500,9 @@ class Geometry(object):
|
||||
from appGUI.PlotCanvasLegacy import ShapeCollectionLegacy
|
||||
self.temp_shapes = ShapeCollectionLegacy(obj=self, app=self.app, name='camlib.geometry')
|
||||
|
||||
# Attributes to be included in serialization
|
||||
self.ser_attrs = ["units", 'solid_geometry', 'follow_geometry', 'tools']
|
||||
|
||||
def plot_temp_shapes(self, element, color='red'):
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user