Commit 30b554aa authored by Lars Kruse's avatar Lars Kruse

enable tolerance controls for "optimize speed with tolerance" corner mode

parent 41f8fb58
......@@ -228,7 +228,8 @@ class GCodeCornerStyle(pycam.Plugins.PluginBase):
self.core.get("unregister_parameter")("toolpath_processor", name)
def update_widgets(self, widget=None):
enable_tolerances = (self.path_mode.get_value() == "optimize_speed")
enable_tolerances = (self.path_mode.get_value() == \
CORNER_STYLE_OPTIMIZE_TOLERANCE)
controls = (self.motion_tolerance, self.naive_tolerance)
for control in controls:
control.get_widget().set_sensitive(enable_tolerances)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment