Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-10-29 13:13:19 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-10-29 13:48:37 +0300
commitb2411fe269caa80b61745209486ed0e8fca8bc79 (patch)
tree7cdc8203c7771434ce39c184dd0a8deacd3e28b4 /source/blender/makesrna/intern/rna_animation.c
parent61d49d3448bbe6ea1c7dc8902c83e63757edc734 (diff)
Fix unneeded/unwanted user counter when freeing CoW NLA
Diffstat (limited to 'source/blender/makesrna/intern/rna_animation.c')
-rw-r--r--source/blender/makesrna/intern/rna_animation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_animation.c b/source/blender/makesrna/intern/rna_animation.c
index 6b014f462b5..ee399ee8648 100644
--- a/source/blender/makesrna/intern/rna_animation.c
+++ b/source/blender/makesrna/intern/rna_animation.c
@@ -536,7 +536,7 @@ static void rna_NlaTrack_remove(AnimData *adt, bContext *C, ReportList *reports,
return;
}
- BKE_nlatrack_free(&adt->nla_tracks, track);
+ BKE_nlatrack_free(&adt->nla_tracks, track, true);
RNA_POINTER_INVALIDATE(track_ptr);
WM_event_add_notifier(C, NC_ANIMATION | ND_NLA | NA_REMOVED, NULL);