[Bf-blender-cvs] [8ffd03aef7b] master: Cleanup: animation, remove commented-out code

Sybren A. Stüvel noreply at git.blender.org
Fri Sep 25 14:21:39 CEST 2020


Commit: 8ffd03aef7b06d63d340e0b6892229927439e20f
Author: Sybren A. Stüvel
Date:   Fri Sep 25 10:16:01 2020 +0200
Branches: master
https://developer.blender.org/rB8ffd03aef7b06d63d340e0b6892229927439e20f

Cleanup: animation, remove commented-out code

The code was commented out in rB6307c65534f6d5cf29d08220cea0dbcca9a0e118,
11 years ago.

No functional changes.

===================================================================

M	source/blender/makesrna/intern/rna_space.c

===================================================================

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) {



More information about the Bf-blender-cvs mailing list