Commit 7bd8abf4 authored by sumpfralle's avatar sumpfralle

removed irrelevant "set_events" call that caused GTK warnings before


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@406 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 73df55da
......@@ -391,7 +391,6 @@ class ModelViewWindowGL:
if (state == BUTTON_ZOOM) or (state == BUTTON_ROTATE) or (state == BUTTON_MOVE):
self.mouse["button"] = state
self.mouse["start_pos"] = [x, y]
self.area.set_events(gtk.gdk.MOUSE | gtk.gdk.BUTTON_PRESS_MASK)
else:
# not more than 25 frames per second (enough for decent visualization)
if time.time() - last_timestamp < 0.04:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment