Commit: d94ba979d890e0a89a3ff9fa5ac8676f389533b5
Author: Philipp Oeser
Date:   Mon May 31 13:17:23 2021 +0200
Branches: master
https://developer.blender.org/rBd94ba979d890e0a89a3ff9fa5ac8676f389533b5

Fix T88569: UI VSE: Menu-based range change, doesn't update the Timeline 
scrollbar width

Use the appropriate notifier, listeners were already doing the rest
properly.

Maniphest Tasks: T88569

Differential Revision: https://developer.blender.org/D11436

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

M       source/blender/editors/space_sequencer/sequencer_edit.c

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

diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c 
b/source/blender/editors/space_sequencer/sequencer_edit.c
index ebd4c0090b4..53ddc818cd1 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -3053,7 +3053,7 @@ static int sequencer_set_range_to_strips_exec(bContext 
*C, wmOperator *op)
     scene->r.efra = efra;
   }
 
-  WM_event_add_notifier(C, NC_SCENE | ND_FRAME, scene);
+  WM_event_add_notifier(C, NC_SCENE | ND_FRAME_RANGE, scene);
 
   return OPERATOR_FINISHED;
 }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to