[Bf-blender-cvs] [9e1583a] HMD_viewport: Fix inner manipulator circle not aligned to viewplane

Julian Eisel noreply at git.blender.org
Fri Mar 18 03:12:58 CET 2016


Commit: 9e1583a0a9adbfa023d3ef9c0675f7b811edda0f
Author: Julian Eisel
Date:   Fri Mar 18 03:12:12 2016 +0100
Branches: HMD_viewport
https://developer.blender.org/rB9e1583a0a9adbfa023d3ef9c0675f7b811edda0f

Fix inner manipulator circle not aligned to viewplane

===================================================================

M	source/blender/windowmanager/intern/wm_operators.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 26abb87..2216a4b 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -5266,6 +5266,7 @@ static void hmd_session_refresh(bContext *C, wmWindow *hmd_win, Scene *scene, HM
 	/* tag hmd region for update */
 	ScrArea *sa = hmd_win->screen->areabase.first;
 	ARegion *ar = BKE_area_find_region_type(sa, RGN_TYPE_WINDOW);
+	ED_view3d_update_viewmat(scene, sa->spacedata.first, ar, NULL, NULL);
 	ED_region_tag_redraw(ar);
 }




More information about the Bf-blender-cvs mailing list