[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18278] branches/blender2.5/blender/source /blender/makesrna/intern/rna_modifier.c: Changed a couple pointer properties to the texture type.
Nicholas Bishop
nicholasbishop at gmail.com
Sat Jan 3 03:11:28 CET 2009
Revision: 18278
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18278
Author: nicholasbishop
Date: 2009-01-03 03:11:27 +0100 (Sat, 03 Jan 2009)
Log Message:
-----------
Changed a couple pointer properties to the texture type.
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c
Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c 2009-01-03 01:55:37 UTC (rev 18277)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_modifier.c 2009-01-03 02:11:27 UTC (rev 18278)
@@ -378,7 +378,7 @@
RNA_def_property_ui_text(prop, "Vertex Group", "Vertex group name for modulating the wave.");
prop= RNA_def_property(srna, "texture", PROP_POINTER, PROP_NONE);
- RNA_def_property_struct_type(prop, "Object");
+ RNA_def_property_struct_type(prop, "Texture");
RNA_def_property_ui_text(prop, "Texture", "Texture for modulating the wave.");
prop= RNA_def_property(srna, "texture_coordinates", PROP_ENUM, PROP_NONE);
@@ -653,9 +653,8 @@
RNA_def_property_string_sdna(prop, NULL, "defgrp_name");
RNA_def_property_ui_text(prop, "Vertex Group", "Vertex group name.");
- /* XXX: no texture type in RNA yet */
prop= RNA_def_property(srna, "texture", PROP_POINTER, PROP_NONE);
- RNA_def_property_struct_type(prop, "ID");
+ RNA_def_property_struct_type(prop, "Texture");
RNA_def_property_ui_text(prop, "Texture", "");
prop= RNA_def_property(srna, "midlevel", PROP_FLOAT, PROP_NONE);
More information about the Bf-blender-cvs
mailing list