Follow-up Comment #1, bug #18373 (project mypaint):
IMO it's a very bad idea to make an option for this. It should just work
right by default. Either I got it wrong the first time or the convention has
changed in Blender.
def dragfunc_zoom(self, dx, dy, x, y):
# workaround (should zoom at x=(first click point).x instead of
cursor)
self.tdw.scroll(-dx, -dy)
# The meaning of drag direction up/down is a convention from
# Blender and probably other 3D tools (Google Earth at least).
self.tdw.zoom(math.exp(-dy/100.0))
Anyways, I changed the direction now.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18373>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs