- Geometry Editor: modified the intersection (if the selected shapes don't intersects preserve them) and substract functions (delete all shapes that were used in the process)
- work in the ToolSilk
This commit is contained in:
parent
c2334bd747
commit
ddc2f2d873
|
@ -181,6 +181,7 @@ class FlatCAMObj(QtCore.QObject):
|
||||||
old_name = copy(self.options["name"])
|
old_name = copy(self.options["name"])
|
||||||
new_name = self.ui.name_entry.get_value()
|
new_name = self.ui.name_entry.get_value()
|
||||||
|
|
||||||
|
if new_name != old_name:
|
||||||
# update the SHELL auto-completer model data
|
# update the SHELL auto-completer model data
|
||||||
try:
|
try:
|
||||||
self.app.myKeywords.remove(old_name)
|
self.app.myKeywords.remove(old_name)
|
||||||
|
|
|
@ -13,6 +13,7 @@ CAD program, and create G-Code for Isolation routing.
|
||||||
|
|
||||||
- Geometry Editor: modified the intersection (if the selected shapes don't intersects preserve them) and substract functions (delete all shapes that were used in the process)
|
- Geometry Editor: modified the intersection (if the selected shapes don't intersects preserve them) and substract functions (delete all shapes that were used in the process)
|
||||||
- work in the ToolSilk
|
- work in the ToolSilk
|
||||||
|
- for all objects, if in Selected the object name is changed to the same name, the rename is not done (because there is nothing changed)
|
||||||
|
|
||||||
24.04.2019
|
24.04.2019
|
||||||
|
|
||||||
|
|
|
@ -209,9 +209,13 @@ class ToolSilk(FlatCAMTool):
|
||||||
while True:
|
while True:
|
||||||
# removal from list is done in a multithreaded way therefore not always the removal can be done
|
# removal from list is done in a multithreaded way therefore not always the removal can be done
|
||||||
# so we keep trying until it's done
|
# so we keep trying until it's done
|
||||||
|
if apid in self.promises:
|
||||||
self.promises.remove(apid)
|
self.promises.remove(apid)
|
||||||
|
else:
|
||||||
|
break
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
except:
|
except:
|
||||||
|
log.debug("Promise fulfilled: %s" % str(apid))
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def periodic_check(self, check_period, reset=False):
|
def periodic_check(self, check_period, reset=False):
|
||||||
|
|
Loading…
Reference in New Issue