[Bf-blender-cvs] [00f264ea42f] master: Cleanup: correct comment exiting NLA tweakmode
Philipp Oeser
noreply at git.blender.org
Fri Aug 13 10:55:04 CEST 2021
Commit: 00f264ea42fb657cd4c62be54ae43459f480a6d8
Author: Philipp Oeser
Date: Fri Aug 13 10:52:53 2021 +0200
Branches: master
https://developer.blender.org/rB00f264ea42fb657cd4c62be54ae43459f480a6d8
Cleanup: correct comment exiting NLA tweakmode
Comment was pasted from entering tweakmode.
===================================================================
M source/blender/editors/space_nla/nla_edit.c
===================================================================
diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c
index 56efcd8571f..c75b874833a 100644
--- a/source/blender/editors/space_nla/nla_edit.c
+++ b/source/blender/editors/space_nla/nla_edit.c
@@ -241,9 +241,7 @@ bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo)
ANIM_animdata_update(ac, &anim_data);
ANIM_animdata_freelist(&anim_data);
- /* if we managed to enter tweak-mode on at least one AnimData block,
- * set the flag for this in the active scene and send notifiers
- */
+ /* Clear the tweak-mode flag in the active scene and send notifiers. */
if (ac->scene) {
/* clear editing flag */
ac->scene->flag &= ~SCE_NLA_EDIT_ON;
More information about the Bf-blender-cvs
mailing list