[Bf-blender-cvs] [abacf071f8f] asset-browser-poselib: Remove asset testing panel for the asset view template

Julian Eisel noreply at git.blender.org
Wed Mar 31 17:33:48 CEST 2021


Commit: abacf071f8f12bc14ae7e0903f404dcb649908f4
Author: Julian Eisel
Date:   Wed Mar 31 17:33:03 2021 +0200
Branches: asset-browser-poselib
https://developer.blender.org/rBabacf071f8f12bc14ae7e0903f404dcb649908f4

Remove asset testing panel for the asset view template

There's a proper panel with the asset viewer now, for the poses. This
testing one will just confuse people.

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

M	release/scripts/startup/bl_ui/space_view3d.py

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

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 5b974dd9b3f..e68f006ccc1 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -7000,29 +7000,6 @@ class VIEW3D_PT_context_properties(Panel):
             rna_prop_ui.draw(self.layout, context, member, object, False)
 
 
-class VIEW3D_PT_asset_testing(Panel):
-    bl_space_type = 'VIEW_3D'
-    bl_region_type = 'UI'
-    bl_label = "Asset Testing"
-    bl_category = "Assets"
-
-    def draw(self, context):
-        layout = self.layout
-
-        wm = context.window_manager
-        workspace = context.workspace
-
-        layout.template_asset_view(
-            "pose_assets",
-            workspace,
-            "active_asset_library",
-            wm,
-            "pose_assets",
-            workspace,
-            "active_pose_asset_index"
-        )
-
-
 # Grease Pencil Object - Multiframe falloff tools
 class VIEW3D_PT_gpencil_multi_frame(Panel):
     bl_space_type = 'VIEW_3D'
@@ -7736,7 +7713,6 @@ classes = (
     VIEW3D_PT_transform_orientations,
     VIEW3D_PT_overlay_gpencil_options,
     VIEW3D_PT_context_properties,
-    VIEW3D_PT_asset_testing,
     VIEW3D_PT_paint_vertex_context_menu,
     VIEW3D_PT_paint_texture_context_menu,
     VIEW3D_PT_paint_weight_context_menu,



More information about the Bf-blender-cvs mailing list