diff --git a/FlatCAMObj.py b/FlatCAMObj.py index a045ab33..2a9a46ec 100644 --- a/FlatCAMObj.py +++ b/FlatCAMObj.py @@ -3114,8 +3114,8 @@ class FlatCAMGeometry(FlatCAMObj, Geometry): # engine of FlatCAM. Most likely are generated by some of tools and are special cases of geometries. self. special_group = None - self.old_pp_state = '' - self.old_toolchangeg_state = '' + self.old_pp_state = self.app.defaults["geometry_multidepth"] + self.old_toolchangeg_state = self.app.defaults["geometry_toolchange"] # Attributes to be included in serialization # Always append to it because it carries contents diff --git a/README.md b/README.md index 42b08720..4d5b0587 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing. - finished adding the TclCommandCopperClear that can be called with alias: 'ncc' - added new capability in NCC Tool when the reference object is of Gerber type and fixed some newly introduced errors - fixed issue #298. The changes in postprocessors done in Preferences dis not update the object UI layout as it was supposed to. The selection of Marlin postproc. did not unhidden the Feedrate Rapids entry. +- fixed minor issues 24.08.2019 diff --git a/camlib.py b/camlib.py index 9c7bafe7..5faf3d5b 100644 --- a/camlib.py +++ b/camlib.py @@ -4640,9 +4640,9 @@ class Excellon(Geometry): # now it can get bounds for nested lists of objects log.debug("camlib.Excellon.bounds()") - # if self.solid_geometry is None: - # log.debug("solid_geometry is None") - # return 0, 0, 0, 0 + if self.solid_geometry is None: + log.debug("solid_geometry is None") + return 0, 0, 0, 0 def bounds_rec(obj): if type(obj) is list: