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:
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/action_data.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/space_action/action_data.c b/source/blender/editors/space_action/action_data.c
index 8ce126b439e..a3be7791f9a 100644
--- a/source/blender/editors/space_action/action_data.c
+++ b/source/blender/editors/space_action/action_data.c
@@ -581,10 +581,7 @@ void ED_animedit_unlink_action(bContext *C, ID *id, AnimData *adt, bAction *act,
}
/* Clear Fake User */
- if (act->id.flag & LIB_FAKEUSER) {
- act->id.flag &= ~LIB_FAKEUSER;
- id_us_min(&act->id);
- }
+ id_fake_user_clear(&act->id);
}
/* If in Tweak Mode, don't unlink. Instead, this