Skip to content
This repository has been archived by the owner on Jan 17, 2018. It is now read-only.

Commit

Permalink
Merge pull request #32 from fieldOfView/fix_extraneous_reslice
Browse files Browse the repository at this point in the history
Don't force a reslice when changing postprocessing options
  • Loading branch information
nallath authored Dec 14, 2016
2 parents d869675 + 0dfbbcc commit 6b0ceb8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions PostProcessingPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def __init__(self, parent = None):
self._selected_script_index = -1

Application.getInstance().getOutputDeviceManager().writeStarted.connect(self.execute)
self.scriptListChanged.connect(Application.getInstance().getBackend().forceSlice)

selectedIndexChanged = pyqtSignal()
@pyqtProperty("QVariant", notify = selectedIndexChanged)
Expand Down Expand Up @@ -144,7 +143,6 @@ def scriptList(self):
def addScriptToList(self, key):
Logger.log("d", "Adding script %s to list.", key)
new_script = self._loaded_scripts[key]()
new_script.valueChanged.connect(Application.getInstance().getBackend().forceSlice)
self._script_list.append(new_script)
self.setSelectedScriptIndex(len(self._script_list) - 1)
self.scriptListChanged.emit()
Expand Down

0 comments on commit 6b0ceb8

Please sign in to comment.