fixed [#23400] Unable to import *.3ds/*.obj files with textures
[blender.git] / source / blender / makesrna / intern / rna_mesh.c
index 74fc2bda17b32559cb7d8f78a9cf655c3cceca70..3dc7b8922e793440c512e0bc35326ea790ce3d1b 100644 (file)
@@ -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");