[Bf-blender-cvs] [c2ddaaf] soc-2013-paint: Change to naming - not layers, slots! Will be good not to confuse those because real per-slot layers will be implemented later.

Antony Riakiotakis noreply at git.blender.org
Wed Mar 12 18:14:09 CET 2014


Commit: c2ddaaf9e8b2f0beade24db9677e779117e457b9
Author: Antony Riakiotakis
Date:   Wed Mar 12 18:39:41 2014 +0200
https://developer.blender.org/rBc2ddaaf9e8b2f0beade24db9677e779117e457b9

Change to naming - not layers, slots! Will be good not to confuse those
because real per-slot layers will be implemented later.

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

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 b97f950..83411c9 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1027,9 +1027,9 @@ class TEXTURE_UL_texpaintslots(UIList):
             layout.label(text="")
 
 
-class VIEW3D_PT_layers_projectpaint(View3DPanel, Panel):
+class VIEW3D_PT_slots_projectpaint(View3DPanel, Panel):
     bl_context = "imagepaint"
-    bl_label = "Layers"
+    bl_label = "Slots"
     bl_category = "Layers"
 
     @classmethod
@@ -1050,7 +1050,7 @@ class VIEW3D_PT_layers_projectpaint(View3DPanel, Panel):
         col.template_list("MATERIAL_UL_matslots", "", ob, "material_slots", ob, "active_material_index", rows=2)
         mat = ob.active_material;
         if mat:
-            col.label("Available Paint layers")
+            col.label("Available Paint Slots")
             col.template_list("TEXTURE_UL_texpaintslots", "", mat, "texture_paint_slots", mat, "active_paint_texture_index", rows=2)
             #col.label("Only slots with UV mapping and image textures are available")




More information about the Bf-blender-cvs mailing list