Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index bf39cbda391..68581ee2ad8 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -2218,6 +2218,20 @@ class USERPREF_PT_experimental_virtual_reality(ExperimentalPanel, Panel):
"""
+class USERPREF_PT_experimental_usd(ExperimentalPanel, Panel):
+ bl_label = "Universal Scene Description"
+
+ def draw_props(self, context, layout):
+ prefs = context.preferences
+
+ split = layout.split(factor=0.66)
+ col = split.split()
+ col.prop(prefs.experimental, "use_usd_exporter", text="USD Exporter")
+ col = split.split()
+ url = "https://devtalk.blender.org/t/universal-scene-description-usd-exporter-feedback/10920"
+ col.operator("wm.url_open", text='Give Feedback', icon='URL').url = url
+
+
# Order of registration defines order in UI,
# so dynamically generated classes are 'injected' in the intended order.
classes = (
@@ -2300,6 +2314,7 @@ classes = (
USERPREF_PT_studiolight_world,
USERPREF_PT_experimental_ui,
+ USERPREF_PT_experimental_usd,
# Popovers.
USERPREF_PT_ndof_settings,