[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29572] branches/soc-2010-nicolasbishop/ source/blender/blenkernel/intern/customdata.c: * Change default mask layer name to "Mask".

Nicholas Bishop nicholasbishop at gmail.com
Sun Jun 20 01:37:13 CEST 2010


Revision: 29572
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29572
Author:   nicholasbishop
Date:     2010-06-20 01:37:12 +0200 (Sun, 20 Jun 2010)

Log Message:
-----------
* Change default mask layer name to "Mask".

Modified Paths:
--------------
    branches/soc-2010-nicolasbishop/source/blender/blenkernel/intern/customdata.c

Modified: branches/soc-2010-nicolasbishop/source/blender/blenkernel/intern/customdata.c
===================================================================
--- branches/soc-2010-nicolasbishop/source/blender/blenkernel/intern/customdata.c	2010-06-19 20:25:00 UTC (rev 29571)
+++ branches/soc-2010-nicolasbishop/source/blender/blenkernel/intern/customdata.c	2010-06-19 23:37:12 UTC (rev 29572)
@@ -757,6 +757,8 @@
 		mcol[i] = default_mcol;
 }
 
+/* Grid */
+
 void layerCopy_grid(const void *source_v, void *dest_v, int count)
 {
 	const CustomData *source = source_v;
@@ -821,7 +823,7 @@
 	{sizeof(float)*3, "", 0, NULL, NULL, NULL, NULL, NULL, NULL},
 	{sizeof(CustomData), "CustomData", 1, "Face Grid", layerCopy_grid, layerFree_grid, NULL, NULL, NULL},
 	{sizeof(float)*3, "", 0, NULL, NULL, NULL, NULL, NULL, NULL},
-	{sizeof(float), "", 0, NULL, NULL, NULL, NULL, NULL, NULL},
+	{sizeof(float), "", 0, "Mask", NULL, NULL, NULL, NULL, NULL},
 };
 
 const char *LAYERTYPENAMES[CD_NUMTYPES] = {





More information about the Bf-blender-cvs mailing list