[Bf-blender-cvs] [1bbd5853ff1] temp-vse-retiming-tool: ...Repeat last change after saving all files

Richard Antalik noreply at git.blender.org
Mon Nov 14 16:58:20 CET 2022


Commit: 1bbd5853ff13a51830db057ab32205259e515a85
Author: Richard Antalik
Date:   Thu Oct 20 20:19:05 2022 +0200
Branches: temp-vse-retiming-tool
https://developer.blender.org/rB1bbd5853ff13a51830db057ab32205259e515a85

...Repeat last change after saving all files

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

M	source/blender/editors/space_sequencer/sequencer_gizmo_retime_type.cc
M	source/blender/sequencer/SEQ_time.h

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

diff --git a/source/blender/editors/space_sequencer/sequencer_gizmo_retime_type.cc b/source/blender/editors/space_sequencer/sequencer_gizmo_retime_type.cc
index 61b4a81998f..4ea496cd786 100644
--- a/source/blender/editors/space_sequencer/sequencer_gizmo_retime_type.cc
+++ b/source/blender/editors/space_sequencer/sequencer_gizmo_retime_type.cc
@@ -380,7 +380,7 @@ static void retime_speed_text_draw(const bContext *C,
   const int end_frame = SEQ_time_right_handle_frame_get(scene, seq);
 
   int next_handle_index = SEQ_retiming_handle_index_get(seq, handle) + 1;
-  SeqRetimingHandle *next_handle = &SEQ_retiming_handles_get(seq)[next_handle_index];
+  const SeqRetimingHandle *next_handle = &SEQ_retiming_handles_get(seq)[next_handle_index];
   if (handle_x_get(seq, next_handle) < start_frame || handle_x_get(seq, handle) > end_frame) {
     return; /* Label out of strip bounds. */
   }
diff --git a/source/blender/sequencer/SEQ_time.h b/source/blender/sequencer/SEQ_time.h
index d66bb85d5cb..8ac3f379226 100644
--- a/source/blender/sequencer/SEQ_time.h
+++ b/source/blender/sequencer/SEQ_time.h
@@ -151,7 +151,7 @@ void SEQ_retiming_offset_handle(const struct Scene *scene,
                                 const int offset);
 float SEQ_retiming_handle_speed_get(const struct Scene *scene,
                                     const struct Sequence *seq,
-                                    const int point_index);
+                                    const struct SeqRetimingHandle *handle);
 int SEQ_retiming_handle_index_get(const struct Sequence *seq, const struct SeqRetimingHandle *handle);
 #ifdef __cplusplus
 }



More information about the Bf-blender-cvs mailing list