[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53704] trunk/blender/source/blender/ editors/mesh/mesh_data.c: adding vertex color layer in mesh editmode would overwrite UV's, strange nobody reported this since its been there since 2.63.
Campbell Barton
ideasman42 at gmail.com
Thu Jan 10 14:59:53 CET 2013
Revision: 53704
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53704
Author: campbellbarton
Date: 2013-01-10 13:59:52 +0000 (Thu, 10 Jan 2013)
Log Message:
-----------
adding vertex color layer in mesh editmode would overwrite UV's, strange nobody reported this since its been there since 2.63.
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/mesh_data.c
Modified: trunk/blender/source/blender/editors/mesh/mesh_data.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/mesh_data.c 2013-01-10 12:35:09 UTC (rev 53703)
+++ trunk/blender/source/blender/editors/mesh/mesh_data.c 2013-01-10 13:59:52 UTC (rev 53704)
@@ -462,7 +462,7 @@
/* copy data from active vertex color layer */
if (layernum) {
const int layernum_dst = CustomData_get_active_layer(&em->bm->ldata, CD_MLOOPCOL);
- BM_data_layer_copy(em->bm, &em->bm->ldata, CD_MLOOPUV, layernum, layernum_dst);
+ BM_data_layer_copy(em->bm, &em->bm->ldata, CD_MLOOPCOL, layernum, layernum_dst);
}
if (active_set || layernum == 0) {
CustomData_set_layer_active(&em->bm->ldata, CD_MLOOPCOL, layernum);
More information about the Bf-blender-cvs
mailing list