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:
authorArystanbek Dyussenov <arystan.d@gmail.com>2009-08-13 15:14:06 +0400
committerArystanbek Dyussenov <arystan.d@gmail.com>2009-08-13 15:14:06 +0400
commit44ddff5c516058a73f0297a94845b2e835307d2f (patch)
tree5e0303f5b6a3eb6becbaac86462cca563c3ad52a /source/blender/makesrna/intern/rna_mesh_api.c
parent6a056e4717c6f194aaac5dabe5c6bc6c8e32006e (diff)
- 3ds importer working (without the "scale to size" option)
- changing object.matrix now updates object.loc/rot/scale - added bpy.data.add_lamp()
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_mesh_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh_api.c b/source/blender/makesrna/intern/rna_mesh_api.c
index b50cc678f4f..9d4dad1fb5b 100644
--- a/source/blender/makesrna/intern/rna_mesh_api.c
+++ b/source/blender/makesrna/intern/rna_mesh_api.c
@@ -248,7 +248,7 @@ static void rna_Mesh_add_geometry(Mesh *mesh, int verts, int edges, int faces)
rna_Mesh_add_faces(mesh, faces);
}
-static void rna_Mesh_add_uv_layer(Mesh *me)
+static void rna_Mesh_add_uv_texture(Mesh *me)
{
me->mtface= CustomData_add_layer(&me->fdata, CD_MTFACE, CD_DEFAULT, NULL, me->totface);
}
@@ -306,8 +306,8 @@ void RNA_api_mesh(StructRNA *srna)
parm= RNA_def_pointer(func, "mesh", "Mesh", "", "Mesh, remove it if it is only used for export.");
RNA_def_function_return(func, parm);
- func= RNA_def_function(srna, "add_uv_layer", "rna_Mesh_add_uv_layer");
- RNA_def_function_ui_description(func, "Add new UV layer to Mesh.");
+ func= RNA_def_function(srna, "add_uv_texture", "rna_Mesh_add_uv_texture");
+ RNA_def_function_ui_description(func, "Add a UV texture layer to Mesh.");
func= RNA_def_function(srna, "calc_normals", "rna_Mesh_calc_normals");
RNA_def_function_ui_description(func, "Calculate vertex normals.");