[Bf-extensions-cvs] [ed51e121] xr-controller-support: VR: Adjust draw flag order, update config version

Peter Kim noreply at git.blender.org
Sun Jul 4 08:49:59 CEST 2021


Commit: ed51e1210a99b152cf7c7459916cbe1564f3017c
Author: Peter Kim
Date:   Sun Jul 4 15:47:30 2021 +0900
Branches: xr-controller-support
https://developer.blender.org/rBAed51e1210a99b152cf7c7459916cbe1564f3017c

VR: Adjust draw flag order, update config version

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

M	viewport_vr_preview/configs/default.py
M	viewport_vr_preview/main.py

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

diff --git a/viewport_vr_preview/configs/default.py b/viewport_vr_preview/configs/default.py
index 2e9aa02c..44b16960 100644
--- a/viewport_vr_preview/configs/default.py
+++ b/viewport_vr_preview/configs/default.py
@@ -1,4 +1,4 @@
-actionconfig_version = (3, 0, 5)
+actionconfig_version = (3, 0, 7)
 actionconfig_data = \
 [("blender_oculus",
   {"profile": '/interaction_profiles/oculus/touch_controller'},
diff --git a/viewport_vr_preview/main.py b/viewport_vr_preview/main.py
index 613a27a5..b83d562a 100644
--- a/viewport_vr_preview/main.py
+++ b/viewport_vr_preview/main.py
@@ -91,9 +91,9 @@ class VIEW3D_PT_vr_session_view(Panel):
         col = layout.column(align=True, heading="Show")
         col.prop(session_settings, "show_floor", text="Floor")
         col.prop(session_settings, "show_annotation", text="Annotations")
+        col.prop(session_settings, "show_selection", text="Selection")
         col.prop(session_settings, "show_controllers", text="Controllers")
         col.prop(session_settings, "show_custom_overlays", text="Custom Overlays")
-        col.prop(session_settings, "show_selection", text="Selection")
 
         col = layout.column(align=True)
         col.prop(session_settings, "controller_draw_style", text="Controller Style")



More information about the Bf-extensions-cvs mailing list