[Bf-blender-cvs] [08870e72bc] HMD_viewport: Draw additional viewport info in HMD view again (3D-cursor, mini-axis, etc)

Julian Eisel noreply at git.blender.org
Mon Mar 6 22:36:25 CET 2017


Commit: 08870e72bcf5ac62ae3c0b8154d631799333cb8a
Author: Julian Eisel
Date:   Mon Mar 6 22:34:05 2017 +0100
Branches: HMD_viewport
https://developer.blender.org/rB08870e72bcf5ac62ae3c0b8154d631799333cb8a

Draw additional viewport info in HMD view again (3D-cursor, mini-axis, etc)

On most (if not all) devices the stuff close to view borders won't be
visible because it's out of the field of view. Ideally we'd calculate their
positions based on the FOV, but that's for later.

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

M	source/blender/editors/space_view3d/view3d_draw.c

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

diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 84523fc828..0d808cc23e 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -4085,12 +4085,6 @@ void view3d_main_region_draw(const bContext *C, ARegion *ar)
 			draw_sim_debug_data(scene, v3d, ar);
 		
 		ED_region_pixelspace(ar);
-
-#ifdef WITH_INPUT_HMD
-		if (view3d_hmd_view_active(CTX_wm_manager(C), CTX_wm_window(C))) {
-			return;
-		}
-#endif
 	}
 
 	/* draw viewport using external renderer */




More information about the Bf-blender-cvs mailing list