From 2a731adae7d481b258e551db30c640660e81b4ea Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 1 Mar 2019 10:25:14 +0100 Subject: Fix T62015: Duplicating object, rotating, pivot point not used Was caused by another fix in the area, and root to the wrong though that transformation is only initialized from a fully evaluated dependency graph. The latter one is not a case when changing transformation mode. Solved by copying transform to an evaluated object. --- source/blender/blenkernel/BKE_object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_object.h') diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 66a3d96cbdc..58d648b4aa4 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -209,6 +209,9 @@ void BKE_object_tfm_protected_restore( const ObjectTfmProtectedChannels *obtfm, const short protectflag); +void BKE_object_tfm_copy( + struct Object *object_dst, + const struct Object *object_src); void BKE_object_eval_reset( struct Object *ob_eval); -- cgit v1.2.3