diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-03 05:11:27 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-01-03 05:11:27 +0300 |
commit | acc2c24e7911cdadf2a84107237a64476b852a8e (patch) | |
tree | 74158f8fff90f0fede4b3ebcb4f2ae99188f8b41 | |
parent | fcad4f4112dd3b0b78be60396c8f7da2def0e176 (diff) |
Changed a couple pointer properties to the texture type.
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 57b01cdad23..a9d877acd64 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -378,7 +378,7 @@ static void rna_def_modifier_wave(BlenderRNA *brna) 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 @@ static void rna_def_modifier_displace(BlenderRNA *brna) 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); |