From 8ffd03aef7b06d63d340e0b6892229927439e20f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 25 Sep 2020 10:16:01 +0200 Subject: Cleanup: animation, remove commented-out code The code was commented out in rB6307c65534f6d5cf29d08220cea0dbcca9a0e118, 11 years ago. No functional changes. --- source/blender/makesrna/intern/rna_space.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna') diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 18c80006496..c04f6dbcc94 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -1924,8 +1924,8 @@ static void rna_SpaceDopeSheetEditor_action_update(bContext *C, PointerRNA *ptr) Main *bmain = CTX_data_main(C); Object *obact = OBACT(view_layer); - /* we must set this action to be the one used by active object (if not pinned) */ - if (obact /* && saction->pin == 0*/) { + /* We must set this action to be the one used by active object. */ + if (obact) { AnimData *adt = NULL; if (saction->mode == SACTCONT_ACTION) { -- cgit v1.2.3