Skip to content

Commit

Permalink
[Path] Fixes #4433 - Cut Side reset with certain Base Geometry changes
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
Russ4262 committed Sep 12, 2020
1 parent abfb6e8 commit 47b27ed
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Mod/Path/PathScripts/PathProfileGui.py
Expand Up @@ -154,21 +154,6 @@ def updateVisibility(self):
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
Expand Down

0 comments on commit 47b27ed

Please sign in to comment.