diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-09-25 11:16:01 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-09-25 15:20:59 +0300 |
commit | 8ffd03aef7b06d63d340e0b6892229927439e20f (patch) | |
tree | 4ef975ee3f71700561444c46d642e7cd5f3a1df1 /source/blender/makesrna | |
parent | 2ef68edad8b9832d55c185d4db948417e74ae8c2 (diff) |
Cleanup: animation, remove commented-out code
The code was commented out in rB6307c65534f6d5cf29d08220cea0dbcca9a0e118,
11 years ago.
No functional changes.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |