Draft: Added a preference to turn on/off tool messages (off by default) - fixes #7078

This commit is contained in:
Yorik van Havre
2023-11-23 16:27:36 +01:00
parent 8944c79ebe
commit b54642bf93
28 changed files with 149 additions and 111 deletions

View File

@@ -36,7 +36,7 @@ import Draft
import Draft_rc # include resources, icons, ui files
import draftutils.todo as todo
from draftutils.messages import _msg, _log
from draftutils.messages import _log
from draftutils.translate import translate
from draftguitools import gui_base
from drafttaskpanels import task_circulararray
@@ -72,8 +72,6 @@ class CircularArray(gui_base.GuiCommandBase):
the widgets of the task panel.
"""
_log("GuiCommand: {}".format(self.command_name))
#_msg("{}".format(16*"-"))
#_msg("GuiCommand: {}".format(self.command_name))
self.location = coin.SoLocation2Event.getClassTypeId()
self.mouse_event = coin.SoMouseButtonEvent.getClassTypeId()