[Bf-blender-cvs] [b88a9cf1714] master: Cleanup: Animation, fix comments
Sybren A. Stüvel
noreply at git.blender.org
Mon Sep 28 14:13:27 CEST 2020
Commit: b88a9cf1714ba2b81b51035f6f302c10e2ebc6a2
Author: Sybren A. Stüvel
Date: Mon Sep 28 12:04:19 2020 +0200
Branches: master
https://developer.blender.org/rBb88a9cf1714ba2b81b51035f6f302c10e2ebc6a2
Cleanup: Animation, fix comments
Remove one outdated comment, and make the other into a proper sentence.
No functional changes
===================================================================
M source/blender/makesrna/intern/rna_fcurve.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index bbeebb4861e..12b8f9be675 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -590,12 +590,11 @@ static bool rna_FCurve_is_empty_get(PointerRNA *ptr)
static void rna_tag_animation_update(Main *bmain, ID *id)
{
- /* Actually recalculate object properties, or just update COW. */
const int tags = ID_RECALC_ANIMATION;
AnimData *adt = BKE_animdata_from_id(id);
if (adt && adt->action) {
- /* action is separate datablock, needs separate tag */
+ /* Action is separate datablock, needs separate tag. */
DEG_id_tag_update_ex(bmain, &adt->action->id, tags);
}
More information about the Bf-blender-cvs
mailing list