Blender Git Commit Log

Git Commits -> Revision ecd0d00

Revision ecd0d00 by Julian Eisel (temp-select-pick)
March 7, 2017, 02:48 (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: ecd0d0016b778e60135945587e6e80f0aa4e15b0
Parent Commit: 5032d06
Committed By: Campbell Barton
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