[Path] Fixes #4433 - Cut Side reset with certain Base Geometry changes

`Cut Side` value was hard-coded to reset when Base Geometry was empty.  This disallowed retention of the current value with changes to selected Base Geometry involving the clearing thereof.
Also restored fixed visibility to `Cut Side` option in Task panel editor per forum mention.
This commit is contained in:
Russell Johnson
2020-09-12 00:24:25 -05:00
parent 3d4e987646
commit da44f6cdcc

View File

@@ -154,21 +154,6 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
self.form.processHoles.hide()
self.form.processPerimeter.hide()
side = False
if self.form.useCompensation.isChecked() is True:
if not fullModel:
side = True
if side:
self.form.cutSide.show()
self.form.cutSideLabel.show()
else:
# Reset cutSide to 'Outside' for full model before hiding cutSide input
if self.form.cutSide.currentText() == 'Inside':
self.selectInComboBox('Outside', self.form.cutSide)
self.form.cutSide.hide()
self.form.cutSideLabel.hide()
def registerSignalHandlers(self, obj):
self.form.useCompensation.stateChanged.connect(self.updateVisibility)
# Eclass