diff options
Diffstat (limited to 'source/blender/blenkernel/intern/anim_sys.c')
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 8010d3450cb..2ddf01433eb 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -229,10 +229,10 @@ void BKE_animdata_free(ID *id) if (adt) { /* unlink action (don't free, as it's in its own list) */ if (adt->action) - adt->action->id.us--; + id_us_min(&adt->action->id); /* same goes for the temporarily displaced action */ if (adt->tmpact) - adt->tmpact->id.us--; + id_us_min(&adt->tmpact->id); /* free nla data */ free_nladata(&adt->nla_tracks); |