Blender Git Loki

Git Commits -> Revision 0cfd2d6

Revision 0cfd2d6 by Julian Eisel (master)
April 29, 2020, 11:53 (GMT)
VR: Reset pose offsets when changing base pose

The offsets are applied after toggling positional tracking off, so that
the view does not jump at that moment. But when changing the base pose,
keeping that offset doesn't make sense. Especially with landmarks, which
are supposed to give precise positions/rotations to jump to. For that
part the VR Scene Inspection Add-on will need a little adjustment
though.

Also exposes an explicit function to the Python API to reset the
offsets, to be used by the Add-on.

This is mostly untested since I don't have access to an HMD currently.

Commit Details:

Full Hash: 0cfd2d6f4b24a7703be4faf615eb47d9448d355c
Parent Commit: c57e441
Lines Changed: +42, -1

4 Modified Paths:

/source/blender/makesrna/intern/rna_xr.c (+16, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+5, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+20, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021