Commit: 40e27448b39108f552b6733cc486fd999947422b
Author: Jeroen Bakker
Date: Tue Mar 29 16:02:36 2022 +0200
Branches: temp-T96709-painting-target
https://developer.blender.org/rB40e27448b39108f552b6733cc486fd999947422b
Rename helper class.
===================================================================
M release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index ffee75a86bb..99390beebc5 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -456,7 +456,7 @@ class VIEW3D_MT_tools_projectpaint_uvlayer(Menu):
props.value = i
-class VIEW3D_PT_slots_projectpaint_base:
+class SelectPaintSlotHelper:
bl_category = "Tool"
def draw(self, context):
layout = self.layout
@@ -528,7 +528,7 @@ class VIEW3D_PT_slots_projectpaint_base:
layout.operator("image.save_all_modified", text="Save All Images",
icon='FILE_TICK')
-class VIEW3D_PT_slots_projectpaint(VIEW3D_PT_slots_projectpaint_base,
View3DPanel, Panel):
+class VIEW3D_PT_slots_projectpaint(SelectPaintSlotHelper, View3DPanel, Panel):
bl_category = "Tool"
bl_context = ".imagepaint" # dot on purpose (access from topbar)
bl_label = "Texture Slots"
@@ -546,7 +546,7 @@ class
VIEW3D_PT_slots_projectpaint(VIEW3D_PT_slots_projectpaint_base, View3DPane
-class VIEW3D_PT_slots_paint_canvas(VIEW3D_PT_slots_projectpaint_base,
View3DPanel, Panel):
+class VIEW3D_PT_slots_paint_canvas(SelectPaintSlotHelper, View3DPanel, Panel):
bl_category = "Tool"
bl_context = ".sculpt_mode" # dot on purpose (access from topbar)
bl_label = "Canvas"
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs