[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59217] branches/ soc-2013-meshdata_transfer/source/blender/editors/mesh/mesh_data.c: UV transfer: active layer selection fix -checking the destination layers instead of the source layers-

Walid Shouman eng.walidshouman at gmail.com
Sat Aug 17 18:42:56 CEST 2013


Revision: 59217
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59217
Author:   walid
Date:     2013-08-17 16:42:56 +0000 (Sat, 17 Aug 2013)
Log Message:
-----------
UV transfer: active layer selection fix -checking the destination layers instead of the source layers-

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-17 16:16:02 UTC (rev 59216)
+++ branches/soc-2013-meshdata_transfer/source/blender/editors/mesh/mesh_data.c	2013-08-17 16:42:56 UTC (rev 59217)
@@ -621,7 +621,7 @@
 
 		CD_src = CustomData_get_layer_index(&me_src->pdata, CD_MTEXPOLY);
 
-		if (num_src_lay == 0) {	//empty destination
+		if (num_dst_lay == 0) {	//empty destination
 			src_name = me_src->pdata.layers[CD_src + active_src].name;
 
 			//add uv layer with the src name




More information about the Bf-blender-cvs mailing list