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:
-rw-r--r--source/blender/makesrna/intern/rna_space.c4
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) {