[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59121] branches/ soc-2013-meshdata_transfer/source/blender/editors/mesh/mesh_data.c: Vertex Color Transfer: rewiring the operator to make the transfer by BM_mesh_data_copy()

Walid Shouman eng.walidshouman at gmail.com
Tue Aug 13 21:56:06 CEST 2013


Revision: 59121
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59121
Author:   walid
Date:     2013-08-13 19:56:06 +0000 (Tue, 13 Aug 2013)
Log Message:
-----------
Vertex Color Transfer: rewiring the operator to make the transfer by BM_mesh_data_copy()

Modified Paths:
--------------
    branches/soc-2013-meshdata_transfer/source/blender/editors/mesh/mesh_data.c

Modified: branches/soc-2013-meshdata_transfer/source/blender/editors/mesh/mesh_data.c
===================================================================
--- branches/soc-2013-meshdata_transfer/source/blender/editors/mesh/mesh_data.c	2013-08-13 19:41:52 UTC (rev 59120)
+++ branches/soc-2013-meshdata_transfer/source/blender/editors/mesh/mesh_data.c	2013-08-13 19:56:06 UTC (rev 59121)
@@ -916,7 +916,7 @@
 	BM_mesh_bm_from_me(bm_dst, me_dst, TRUE, true, 0);
 
 	if (transfer_mode == PROJECTION_TRANSFER) {
-		if (!BM_mesh_vertex_color_copy(bm_src, bm_dst, replace_info, relative_to_target, tmp_mat)) {
+		if (!BM_mesh_data_copy(bm_src, bm_dst, CD_MLOOPCOL, replace_info, relative_to_target, tmp_mat)) {
 			return false;
 		}
 	}




More information about the Bf-blender-cvs mailing list