Revision: 43445
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43445
Author: campbellbarton
Date: 2012-01-17 05:46:34 +0000 (Tue, 17 Jan 2012)
Log Message:
-----------
mesh.uv_textures.new() was returning the wrong type
Modified Paths:
--------------
branches/bmesh/blender/source/blender/makesrna/intern/rna_mesh.c
Modified: branches/bmesh/blender/source/blender/makesrna/intern/rna_mesh.c
===================================================================
--- branches/bmesh/blender/source/blender/makesrna/intern/rna_mesh.c
2012-01-17 05:25:11 UTC (rev 43444)
+++ branches/bmesh/blender/source/blender/makesrna/intern/rna_mesh.c
2012-01-17 05:46:34 UTC (rev 43445)
@@ -2263,7 +2263,7 @@
RNA_def_function_flag(func, FUNC_USE_CONTEXT);
RNA_def_function_ui_description(func, "Add a UV map layer to Mesh");
RNA_def_string(func, "name", "UVMap", 0, "", "UV map name");
- parm= RNA_def_pointer(func, "layer", "MeshTextureFaceLayer", "", "The
newly created layer");
+ parm= RNA_def_pointer(func, "layer", "MeshTexturePolyLayer", "", "The
newly created layer");
RNA_def_function_return(func, parm);
/*
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs