[Bf-blender-cvs] [3a9e5891420] master: Fix (Unreported): VSE side panel flickering when tweaking offset value
Richard Antalik
noreply at git.blender.org
Sat Jan 28 00:28:23 CET 2023
Commit: 3a9e5891420d57cb3b40be09c4ad0c711d1ed9e2
Author: Richard Antalik
Date: Sat Jan 28 00:25:56 2023 +0100
Branches: master
https://developer.blender.org/rB3a9e5891420d57cb3b40be09c4ad0c711d1ed9e2
Fix (Unreported): VSE side panel flickering when tweaking offset value
Panel was split by factor calculated from property value string length.
Since these properties have float type now, calculated length was
incorrect.
===================================================================
M release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index dd6f827e92d..c605ed5f835 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -1845,17 +1845,17 @@ class SEQUENCER_PT_time(SequencerButtonsPanel, Panel):
frame_offset_end = strip.frame_offset_end
length_list = (
- str(frame_start),
- str(frame_final_end),
- str(frame_final_duration),
- str(frame_offset_start),
- str(frame_offset_end),
+ str(round(frame_start, 0)),
+ str(round(frame_final_end, 0)),
+ str(round(frame_final_duration, 0)),
+ str(round(frame_offset_start, 0)),
+ str(round(frame_offset_end, 0)),
)
if not is_effect:
length_list = length_list + (
- str(strip.animation_offset_start),
- str(strip.animation_offset_end),
+ str(round(strip.animation_offset_start, 0)),
+ str(round(strip.animation_offset_end, 0)),
)
max_length = max(len(x) for x in length_list)
More information about the Bf-blender-cvs
mailing list