Skip to content

Commit

Permalink
fix issue with test on test_vcs_interact_no_plot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Mar 24, 2015
1 parent fbe51f1 commit a0ab793
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Packages/vcs/Lib/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,13 @@ def shift(self):
def update(self):
if self.backend.renWin and self.interactor is None:
self.interactor = self.backend.renWin.GetInteractor()
self.listeners.append(self.interactor.AddObserver("TimerEvent", self.animate))
self.listeners.append(self.interactor.AddObserver("LeftButtonPressEvent", self.click))
self.listeners.append(self.interactor.AddObserver("MouseMoveEvent", self.hover))
self.listeners.append(self.interactor.AddObserver("LeftButtonReleaseEvent", self.release))
self.init_buttons()
self.init_toolbar()
if self.interactor is not None:
self.listeners.append(self.interactor.AddObserver("TimerEvent", self.animate))
self.listeners.append(self.interactor.AddObserver("LeftButtonPressEvent", self.click))
self.listeners.append(self.interactor.AddObserver("MouseMoveEvent", self.hover))
self.listeners.append(self.interactor.AddObserver("LeftButtonReleaseEvent", self.release))
self.init_buttons()
self.init_toolbar()

self.displays = [vcs.elements["display"][display] for display in self.canvas.display_names]

Expand Down

1 comment on commit a0ab793

@chaosphere2112
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me; 👍

Please sign in to comment.