diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2020-03-03 20:42:03 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2020-03-03 20:42:03 +0300 |
commit | 602d716cd91de6e4b893fb2616518763d5ed48d4 (patch) | |
tree | f84e199767fd0d394249b9c28ba593e61bffe9ac | |
parent | a227278065ed4a74a54e129622a5b48120ea15b8 (diff) |
Show new VR view mirror option
-rw-r--r-- | viewport_vr_preview.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/viewport_vr_preview.py b/viewport_vr_preview.py index 186f517e..9de85886 100644 --- a/viewport_vr_preview.py +++ b/viewport_vr_preview.py @@ -412,6 +412,7 @@ class VIEW3D_PT_vr_feedback(bpy.types.Panel): view3d = context.space_data layout.prop(view3d.shading, "vr_show_virtual_camera") + layout.prop(view3d, "show_as_xr_session_mirror") class VIEW3D_GT_vr_camera_cone(Gizmo): @@ -465,7 +466,7 @@ class VIEW3D_GGT_vr_viewer(GizmoGroup): @classmethod def poll(cls, context): view3d = context.space_data - return view3d.shading.vr_show_virtual_camera and bpy.types.XrSessionState.is_running(context) + return view3d.shading.vr_show_virtual_camera and bpy.types.XrSessionState.is_running(context) and not view3d.show_as_xr_session_mirror def _get_viewer_matrix(self, context): from mathutils import Matrix, Quaternion |