NLA SoC: Merge from 2.5
[blender.git] / source / blender / editors / transform / transform_conversions.c
index fb7d9c57eafc56a156c7e5e86670e6c7a2b322c6..cb210a37bf48d815e0cfe034dcd10e1b70dc951f 100644 (file)
@@ -4809,7 +4809,7 @@ void special_aftertrans_update(TransInfo *t)
                        
                        if (base->flag & SELECT && (t->mode != TFM_DUMMY)) {
                                /* pointcache refresh */
                        
                        if (base->flag & SELECT && (t->mode != TFM_DUMMY)) {
                                /* pointcache refresh */
-                               if (BKE_ptcache_object_reset(ob, PTCACHE_RESET_DEPSGRAPH))
+                               if (BKE_ptcache_object_reset(scene, ob, PTCACHE_RESET_DEPSGRAPH))
                                        ob->recalc |= OB_RECALC_DATA;
                                
                                /* Set autokey if necessary */
                                        ob->recalc |= OB_RECALC_DATA;
                                
                                /* Set autokey if necessary */