[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34898] trunk/blender/release/scripts/ui/ properties_data_modifier.py: Added full texture idblock controls for displace and wave modifier.
Janne Karhu
jhkarh at gmail.com
Wed Feb 16 11:23:28 CET 2011
Revision: 34898
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34898
Author: jhk
Date: 2011-02-16 10:23:27 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
Added full texture idblock controls for displace and wave modifier.
Modified Paths:
--------------
trunk/blender/release/scripts/ui/properties_data_modifier.py
Modified: trunk/blender/release/scripts/ui/properties_data_modifier.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_data_modifier.py 2011-02-16 10:22:19 UTC (rev 34897)
+++ trunk/blender/release/scripts/ui/properties_data_modifier.py 2011-02-16 10:23:27 UTC (rev 34898)
@@ -214,7 +214,7 @@
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 @@
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")
More information about the Bf-blender-cvs
mailing list