Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-08-20 12:11:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-20 12:11:26 +0400
commit6da7684ca63f9f396fe90ae8927ee3bf17a8106f (patch)
tree05ee7d5f431cb693cf741f5fbfb702b24d482367 /source/blender/makesrna/intern/rna_mesh.c
parent4f5f868a523430aa41de8bd63f888878aaf63002 (diff)
fixed [#23400] Unable to import *.3ds/*.obj files with textures
changed some rna names to be more consistant - use_texture -> use_image, since it sets if 'image' is used. - use_map_color_diff -> use_map_color_diffuse since diffuse is used elsewhere in the same type.
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh.c')
-rw-r--r--source/blender/makesrna/intern/rna_mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c
index 74fc2bda17b..3dc7b8922e7 100644
--- a/source/blender/makesrna/intern/rna_mesh.c
+++ b/source/blender/makesrna/intern/rna_mesh.c
@@ -1321,7 +1321,7 @@ static void rna_def_mtface(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Image", "");
RNA_def_property_update(prop, 0, "rna_Mesh_update_data");
- prop= RNA_def_property(srna, "use_texture", PROP_BOOLEAN, PROP_NONE);
+ prop= RNA_def_property(srna, "use_image", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "mode", TF_TEX);
RNA_def_property_ui_text(prop, "Tex", "Render face with texture");
RNA_def_property_update(prop, 0, "rna_Mesh_update_data");