- fixed the Set To Origin function when Escape was clicked

This commit is contained in:
Marius Stanciu
2019-02-24 01:57:47 +02:00
committed by Marius S
parent 945196a44c
commit 4d8eefb92d
3 changed files with 8 additions and 1 deletions

View File

@@ -2288,7 +2288,8 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
if self.options["solid"]:
for tool in self.tools:
for geo in self.tools[tool]['solid_geometry']:
self.add_shape(shape=geo, color='#750000BF', face_color='#C40000BF', visible=self.options['plot'],
self.add_shape(shape=geo, color='#750000BF', face_color='#C40000BF',
visible=self.options['plot'],
layer=2)
else:
for tool in self.tools: