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:
authorSybren A. Stüvel <sybren@blender.org>2020-09-28 13:04:19 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-09-28 15:12:42 +0300
commitb88a9cf1714ba2b81b51035f6f302c10e2ebc6a2 (patch)
tree0c088a8b9a00448cf8716e78117a8640d6478459 /source/blender/makesrna
parentf7655dd322dd64d2a007857d2aff7d76bd86b60a (diff)
Cleanup: Animation, fix comments
Remove one outdated comment, and make the other into a proper sentence. No functional changes
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_fcurve.c3
1 files changed, 1 insertions, 2 deletions
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);
}