From 47b27edd6d9502fc04958c95543eab17a82abb7c Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Sat, 12 Sep 2020 00:24:25 -0500 Subject: [PATCH] [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. --- src/Mod/Path/PathScripts/PathProfileGui.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathProfileGui.py b/src/Mod/Path/PathScripts/PathProfileGui.py index 85efa959d4..0013bca586 100644 --- a/src/Mod/Path/PathScripts/PathProfileGui.py +++ b/src/Mod/Path/PathScripts/PathProfileGui.py @@ -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