[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36707] trunk/blender: rename wave texture_coordinate_object -> texture_coords_object to match Displace and Warp modifiers.
Campbell Barton
ideasman42 at gmail.com
Mon May 16 07:50:05 CEST 2011
Revision: 36707
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36707
Author: campbellbarton
Date: 2011-05-16 05:50:04 +0000 (Mon, 16 May 2011)
Log Message:
-----------
rename wave texture_coordinate_object -> texture_coords_object to match Displace and Warp modifiers.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py
trunk/blender/source/blender/makesrna/intern/rna_modifier.c
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py 2011-05-16 04:55:31 UTC (rev 36706)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py 2011-05-16 05:50:04 UTC (rev 36707)
@@ -219,7 +219,7 @@
col.label(text="Texture Coordinates:")
col.prop(md, "texture_coords", text="")
if md.texture_coords == 'OBJECT':
- layout.prop(md, "texture_coordinate_object", text="Object")
+ layout.prop(md, "texture_coords_object", text="Object")
elif md.texture_coords == 'UV' and ob.type == 'MESH':
layout.prop_search(md, "uv_layer", ob.data, "uv_textures")
@@ -673,7 +673,7 @@
col.prop(md, "texture_coords", text="")
if md.texture_coords == 'OBJECT':
- layout.prop(md, "texture_coordinate_object", text="Object")
+ layout.prop(md, "texture_coords_object", text="Object")
elif md.texture_coords == 'UV' and ob.type == 'MESH':
layout.prop_search(md, "uv_layer", ob.data, "uv_textures")
@@ -723,7 +723,7 @@
if md.texture_coords == 'MAP_UV' and ob.type == 'MESH':
layout.prop_search(md, "uv_layer", ob.data, "uv_textures")
elif md.texture_coords == 'OBJECT':
- layout.prop(md, "texture_coordinate_object")
+ layout.prop(md, "texture_coords_object")
layout.separator()
Modified: trunk/blender/source/blender/makesrna/intern/rna_modifier.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_modifier.c 2011-05-16 04:55:31 UTC (rev 36706)
+++ trunk/blender/source/blender/makesrna/intern/rna_modifier.c 2011-05-16 05:50:04 UTC (rev 36707)
@@ -656,7 +656,7 @@
RNA_def_property_string_funcs(prop, NULL, NULL, "rna_MappingInfo_uvlayer_set");
RNA_def_property_update(prop, 0, "rna_Modifier_update");
- prop= RNA_def_property(srna, "texture_coordinate_object", PROP_POINTER, PROP_NONE);
+ prop= RNA_def_property(srna, "texture_coords_object", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "map_object");
RNA_def_property_ui_text(prop, "Texture Coordinate Object", "Object to set the texture coordinates");
RNA_def_property_flag(prop, PROP_EDITABLE|PROP_ID_SELF_CHECK);
More information about the Bf-blender-cvs
mailing list