diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-02-16 13:23:27 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-02-16 13:23:27 +0300 |
commit | d450e35f217bf41b91b7a3d66b3d7cdc68dd8b2b (patch) | |
tree | 71f369feafe748e5bd2df30214e75f116821c094 /release | |
parent | e6879c76466aa1d0cc3b773638959c827f8cdbe3 (diff) |
Added full texture idblock controls for displace and wave modifier.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_data_modifier.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_data_modifier.py b/release/scripts/ui/properties_data_modifier.py index 564963130ac..cd7c479ab57 100644 --- a/release/scripts/ui/properties_data_modifier.py +++ b/release/scripts/ui/properties_data_modifier.py @@ -214,7 +214,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel): col = split.column() col.label(text="Texture:") - col.prop(md, "texture", text="") + col.template_ID(md, "texture", new="texture.new") col.label(text="Vertex Group:") col.prop_search(md, "vertex_group", ob, "vertex_groups", text="") @@ -680,7 +680,11 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel): layout.prop(md, "start_position_object") layout.prop_search(md, "vertex_group", ob, "vertex_groups") - layout.prop(md, "texture") + split = layout.split(percentage=0.33) + col = split.column() + col.label(text="Texture") + col = split.column() + col.template_ID(md, "texture", new="texture.new") layout.prop(md, "texture_coords") if md.texture_coords == 'MAP_UV' and ob.type == 'MESH': layout.prop_search(md, "uv_layer", ob.data, "uv_textures") |