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:
authorPhilipp Oeser <info@graphics-engineer.com>2021-08-13 11:52:53 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-08-13 11:52:53 +0300
commit00f264ea42fb657cd4c62be54ae43459f480a6d8 (patch)
treee459eefbeffb364319da9cba2f9758b1829291c7
parent0ae23636e7e337b70ade5b172af291ac46a517ff (diff)
Cleanup: correct comment exiting NLA tweakmode
Comment was pasted from entering tweakmode.
-rw-r--r--source/blender/editors/space_nla/nla_edit.c4
1 files changed, 1 insertions, 3 deletions
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;