[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58401] branches/ soc-2013-meshdata_transfer/source/blender/editors/object/object_shapekey.c: Applying the fix for shapekey transform to work

Walid Shouman eng.walidshouman at gmail.com
Fri Jul 19 13:51:04 CEST 2013


Revision: 58401
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58401
Author:   walid
Date:     2013-07-19 11:51:04 +0000 (Fri, 19 Jul 2013)
Log Message:
-----------
Applying the fix for shapekey transform to work

Modified Paths:
--------------
    branches/soc-2013-meshdata_transfer/source/blender/editors/object/object_shapekey.c

Modified: branches/soc-2013-meshdata_transfer/source/blender/editors/object/object_shapekey.c
===================================================================
--- branches/soc-2013-meshdata_transfer/source/blender/editors/object/object_shapekey.c	2013-07-19 11:45:21 UTC (rev 58400)
+++ branches/soc-2013-meshdata_transfer/source/blender/editors/object/object_shapekey.c	2013-07-19 11:51:04 UTC (rev 58401)
@@ -387,8 +387,8 @@
 		}
 	}
 
-	BM_mesh_bm_from_me(bm_src, me_src, TRUE, true, ob_src->shapenr);	//TRUE -> should transfer shapekeys too!!
-	BM_mesh_bm_from_me(bm_dst, me_dst, TRUE, true, ob_dst->shapenr);
+	BM_mesh_bm_from_me(bm_src, me_src, TRUE, true, 0);	//TRUE -> should transfer shapekeys too!!
+	BM_mesh_bm_from_me(bm_dst, me_dst, TRUE, true, 0);
 
 	if (!BM_mesh_shapekey_copy(bm_src, bm_dst, tolerance, radius_interp, interp_pow, no_pow, interp_normals,
 	                           replace_mode, act_shapekey_lay)) {




More information about the Bf-blender-cvs mailing list