60 |
|
|
61 |
class BrowseClick(AbstractAction, vob.mouse.MouseClickListener): |
class BrowseClick(AbstractAction, vob.mouse.MouseClickListener): |
62 |
def clicked(self, x, y): |
def clicked(self, x, y): |
63 |
if 1 or dbg: p('move pan slow') |
if dbg: p('move pan slow') |
64 |
self.super() |
self.super() |
65 |
self.context.states.fastChg = 0 |
obj = self.main.getNodeOnPlane(self.oldVS, x,y) |
66 |
|
self.context.states.cursor.setAccursed(obj) |
67 |
self.main.moveToPoint(int(x),int(y), self.oldVS) |
self.main.moveToPoint(int(x),int(y), self.oldVS) |
68 |
|
self.context.states.fastChg = 0 |
69 |
|
|
70 |
|
|
71 |
class ZoomPan(vob.input.RelativeAxisListener, AbstractAction): |
class ZoomPan(vob.input.RelativeAxisListener, AbstractAction): |
72 |
def changedRelative(self, x): |
def changedRelative(self, x): |