Merge branch 'merge-tcl-commands' of https://bitbucket.org/sopak/flatcam into tcl-commands
Conflicts: FlatCAMApp.py FlatCAMWorker.py termwidget.py
This commit is contained in:
@@ -1079,6 +1079,7 @@ class App(QtCore.QObject):
|
|||||||
toggle shell if is visible close it if closed open it
|
toggle shell if is visible close it if closed open it
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if self.ui.shell_dock.isVisible():
|
if self.ui.shell_dock.isVisible():
|
||||||
self.ui.shell_dock.hide()
|
self.ui.shell_dock.hide()
|
||||||
else:
|
else:
|
||||||
@@ -1091,6 +1092,7 @@ class App(QtCore.QObject):
|
|||||||
|
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
|
|
||||||
objs = self.collection.get_selected()
|
objs = self.collection.get_selected()
|
||||||
|
|
||||||
def initialize(obj, app):
|
def initialize(obj, app):
|
||||||
@@ -1802,6 +1804,7 @@ class App(QtCore.QObject):
|
|||||||
:param outname:
|
:param outname:
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.log.debug("export_svg()")
|
self.log.debug("export_svg()")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -31,18 +31,15 @@ class Worker(QtCore.QObject):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
# allow debuging/breakpoints in this threads
|
|
||||||
#pydevd.settrace(suspend=False, trace_only_current_thread=True)
|
|
||||||
|
|
||||||
# FlatCAMApp.App.log.debug("Worker Started!")
|
|
||||||
self.app.log.debug("Worker Started!")
|
self.app.log.debug("Worker Started!")
|
||||||
|
|
||||||
|
self.allow_debug()
|
||||||
|
|
||||||
# Tasks are queued in the event listener.
|
# Tasks are queued in the event listener.
|
||||||
self.app.worker_task.connect(self.do_worker_task)
|
self.app.worker_task.connect(self.do_worker_task)
|
||||||
|
|
||||||
def do_worker_task(self, task):
|
def do_worker_task(self, task):
|
||||||
|
|
||||||
# FlatCAMApp.App.log.debug("Running task: %s" % str(task))
|
|
||||||
self.app.log.debug("Running task: %s" % str(task))
|
self.app.log.debug("Running task: %s" % str(task))
|
||||||
|
|
||||||
self.allow_debug()
|
self.allow_debug()
|
||||||
@@ -58,5 +55,4 @@ class Worker(QtCore.QObject):
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
# FlatCAMApp.App.log.debug("Task ignored.")
|
|
||||||
self.app.log.debug("Task ignored.")
|
self.app.log.debug("Task ignored.")
|
||||||
|
|||||||
BIN
camlib.pyc
BIN
camlib.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user