Blender Git Loki

Git Commits -> Revision 0ec6abd

Revision 0ec6abd by Martin Poirier (master)
September 6, 2007, 21:35 (GMT)
[#7299] Orbit around selected causes panning to be reversed

The actual "bug" is much more general than simple viewmove. In fact, any time the center (for viewmove, or transform, or ...) on which initgrabz is called was behind the camera (in perspective, then), all mouse motion where reversed.

What I added is a special handling case that reverts those situation to the default case (center = viewport offset).

This changes the behavior for those case to something much more predictable/useable, but I doubt anyone expected it to work incorrectly, so I'd say that's alright.

This covers other cases than transform and viewmove (which are the only ones I really tested), but I don't expect breakage elsewhere.

If anyone disagrees with the change, feel free to offer a better solution.

Commit Details:

Full Hash: 0ec6abd2d19d4569fc180aeef516a3bd444bc155
SVN Revision: 11950
Parent Commit: bd7ebb0
Lines Changed: +5, -0

1 Modified Path:

/source/blender/src/view.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021