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:
authorThomas Dinges <blender@dingto.org>2012-10-21 15:04:04 +0400
committerThomas Dinges <blender@dingto.org>2012-10-21 15:04:04 +0400
commit1abb60af8069770363039db00219ce00628f1ce3 (patch)
tree72f07e47b5b416fcafa836cfd3cede266a94bf2d
parentfff19a1360fdc2fb3cd80924314086508cee643c (diff)
Texture UI:
* Use the full space for the Texture ID Block.
-rw-r--r--release/scripts/startup/bl_ui/properties_texture.py13
1 files changed, 4 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index d4752e4e7b5..e623d034b48 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -149,20 +149,15 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel, Panel):
col.operator("texture.slot_move", text="", icon='TRIA_DOWN').type = 'DOWN'
col.menu("TEXTURE_MT_specials", icon='DOWNARROW_HLT', text="")
- split = layout.split(percentage=0.65)
- col = split.column()
-
if tex_collection:
- col.template_ID(idblock, "active_texture", new="texture.new")
+ layout.template_ID(idblock, "active_texture", new="texture.new")
elif node:
- col.template_ID(node, "texture", new="texture.new")
+ layout.template_ID(node, "texture", new="texture.new")
elif idblock:
- col.template_ID(idblock, "texture", new="texture.new")
+ layout.template_ID(idblock, "texture", new="texture.new")
if pin_id:
- col.template_ID(space, "pin_id")
-
- col = split.column()
+ layout.template_ID(space, "pin_id")
if tex:
split = layout.split(percentage=0.2)