Skip to content

Commit

Permalink
Merge pull request #3861 from Russ4262/profile_reset_fix
Browse files Browse the repository at this point in the history
[Path] Fixes #4433 - `Cut Side` reset with certain Base Geometry changes
  • Loading branch information
sliptonic committed Sep 15, 2020
2 parents 6ab2b2e + 47b27ed commit 2921a0c
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 2921a0c

Please sign in to comment.