Blender Git Commit Log

Git Commits -> Revision 25b3287

Revision 25b3287 by Julian Eisel (vr_scene_inspection)
March 3, 2020, 17:38 (GMT)
Support mirroring the VR view in regular 3D Views

Adds a per 3D View option to mirror the 3D session view. When enabled,
the viewport (continuously) renders using the same location and rotation
as the 3D view. While navigation is disabled then, other interactions
are working, so you can select and edit data as usual.
To be precise, we use the pose of the centroid, not the ones used by the
eyes.

Extra attention was put into forbidding viewport navigation while the VR
mirror runs (it overrides the current viewpoint anyway). Tried to make
this a generic feature. There may still be some navigation operators
that are not covered. So using them while the mirror runs will have an
affect on what you see once you end the session or mirroring.

Quadview is preserved, only the un-locked view shows the mirror then.
All of this is runtime data, no state changes should end up being read
from saved files.

Commit Details:

Full Hash: 25b3287ce604015d07fe71a8e0bbb39af89bc982
Parent Commit: ba25433
Lines Changed: +349, -126

19 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+4, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+2, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+9, -4) (Diff)
/source/blender/editors/space_view3d/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+12, -3) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+54, -6) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+69, -45) (Diff)
/source/blender/editors/space_view3d/view3d_fly.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_navigate.c (+14, -10) (Diff)
/source/blender/editors/space_view3d/view3d_utils.c (+9, -4) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+8, -6) (Diff)
/source/blender/editors/space_view3d/view3d_walk.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+15, -3) (Diff)
/source/blender/makesrna/intern/rna_space.c (+29, -1) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c (+3, -2) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+29, -0) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+82, -38) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021