[Bf-blender-cvs] [6c707aad6a2] master: Fix T74605 Key Indicator for motion paths not updating for objects

Sybren A. Stüvel noreply at git.blender.org
Thu Mar 12 11:08:56 CET 2020


Commit: 6c707aad6a2e0cc6f5d3b561c32fabc2663cdb0e
Author: Sybren A. Stüvel
Date:   Thu Mar 12 11:08:45 2020 +0100
Branches: master
https://developer.blender.org/rB6c707aad6a2e0cc6f5d3b561c32fabc2663cdb0e

Fix T74605 Key Indicator for motion paths not updating for objects

This fixes a functional change in 4db2a08281f8495421938e0b2f6a802420afba36,
which was marked as 'should have non-functional changes only'.

===================================================================

M	source/blender/editors/transform/transform_generics.c

===================================================================

diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c
index bb4d50fcf54..716df24f195 100644
--- a/source/blender/editors/transform/transform_generics.c
+++ b/source/blender/editors/transform/transform_generics.c
@@ -1102,7 +1102,7 @@ static void recalcData_objects(TransInfo *t)
 
     if (motionpath_update) {
       /* Update motion paths once for all transformed objects. */
-      ED_objects_recalculate_paths(t->context, t->scene, OBJECT_PATH_CALC_RANGE_CHANGED);
+      ED_objects_recalculate_paths(t->context, t->scene, OBJECT_PATH_CALC_RANGE_CURRENT_FRAME);
     }
 
     if (t->options & CTX_OBMODE_XFORM_SKIP_CHILDREN) {



More information about the Bf-blender-cvs mailing list