Blender Git Commit Log

Git Commits -> Revision 80444ef

Revision 80444ef by Julian Eisel (master)
March 6, 2017, 00:32 (GMT)
Multi-View: Map cursor coordinates to visual coordinates

When rendering multi-view in side-by-side or top-bottom mode, we squash
the UI to half of its size and draw it twice on screen. That means the
cursor coordinates used for UI interaction don't match what's visible on
screen.
This commit is a little event system hack (tm) to fix this. It has some
small glitches with cursor grabbing, but nothing to bad.
We'll also use it for viewport HMD support.

D1350, thanks for the feedback @dfelinto!

Commit Details:

Full Hash: 80444effc62ac91b127cd7811f84c1689eabd7c8
Parent Commit: e72af06
Lines Changed: +31, -1

4 Modified Paths:

/source/blender/editors/interface/interface_handlers.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_stereo.c (+26, -0) (Diff)
/source/blender/windowmanager/wm.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021