Commit: f640704654e335781f358d2d331dfd9f45a06c05 Author: Julian Eisel Date: Thu Jan 16 19:53:31 2020 +0100 Branches: vr_scene_inspection https://developer.blender.org/rBf640704654e335781f358d2d331dfd9f45a06c05
Fix view stuck at center on session start without positional tracking =================================================================== M source/blender/windowmanager/intern/wm_xr.c =================================================================== diff --git a/source/blender/windowmanager/intern/wm_xr.c b/source/blender/windowmanager/intern/wm_xr.c index bced6717173..64c3f15b0a0 100644 --- a/source/blender/windowmanager/intern/wm_xr.c +++ b/source/blender/windowmanager/intern/wm_xr.c @@ -204,6 +204,10 @@ static bXrRuntimeSessionState *wm_xr_runtime_session_state_create(const Scene *s unit_qt(state->reference_pose.orientation_quat); } + /* Make sure the final reference pose is set, even if positional tracking is disabled on session + * start. */ + copy_v3_v3(state->final_reference_pose.position, state->reference_pose.position); + return state; } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs