NLA SoC: Merge from 2.5 - 21179 to 21209
[blender-staging.git] / source / blender / editors / transform / transform_conversions.c
index 3bc950d5863909254357356faa6d93bd498a8842..d23f8fdfe40dac2471f6819bf30a5a0c3a4f1499 100644 (file)
@@ -4828,6 +4828,12 @@ void special_aftertrans_update(TransInfo *t)
                                /* pointcache refresh */
                                if (BKE_ptcache_object_reset(scene, ob, PTCACHE_RESET_DEPSGRAPH))
                                        ob->recalc |= OB_RECALC_DATA;
+
+                               /* Needed for proper updating of "quick cached" dynamics. */
+                               /* Creates troubles for moving animated objects without */
+                               /* autokey though, probably needed is an anim sys override? */
+                               /* Please remove if some other solution is found. -jahka */
+                               DAG_object_flush_update(scene, ob, OB_RECALC_OB);
                                
                                /* Set autokey if necessary */
                                if (!cancelled)