- fixed the Copy Object function to copy also the source_file content

- Copper Thieving Tool - when the clearance value for the pattern plating mask is negative it will be applied to the origin soldermask too
This commit is contained in:
Marius Stanciu
2019-12-04 20:00:05 +02:00
committed by Marius
parent 9b48db7f54
commit 951562fbae
3 changed files with 17 additions and 1 deletions

View File

@@ -7350,7 +7350,14 @@ class App(QtCore.QObject):
except Exception as e:
log.debug("App.on_copy_object() --> %s" % str(e))
try:
obj_init.source_file = deepcopy(obj.source_file)
except (AttributeError, TypeError):
pass
def initialize_excellon(obj_init, app):
obj_init.source_file = deepcopy(obj.source_file)
obj_init.tools = deepcopy(obj.tools)
# drills are offset, so they need to be deep copied