From f16320e11832a9841ccc95a1be0586da6914efe7 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Wed, 24 Sep 2025 20:20:15 -0400 Subject: [PATCH] UI: Improve Movie Clip Display Aspect Ratio - Disable animation support (consistent with image editor) - Use property split layout --- scripts/startup/bl_ui/space_clip.py | 5 ++++- source/blender/makesrna/intern/rna_movieclip.cc | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/startup/bl_ui/space_clip.py b/scripts/startup/bl_ui/space_clip.py index f44a4df0ec0..72838a5068a 100644 --- a/scripts/startup/bl_ui/space_clip.py +++ b/scripts/startup/bl_ui/space_clip.py @@ -71,7 +71,10 @@ class CLIP_PT_clip_display(Panel): clip = sc.clip if clip: col = layout.column() - col.prop(clip, "display_aspect", text="Display Aspect Ratio") + col.use_property_split = True + col.use_property_decorate = False + col.separator() + col.prop(clip, "display_aspect", text="Aspect Ratio") class CLIP_HT_header(Header): diff --git a/source/blender/makesrna/intern/rna_movieclip.cc b/source/blender/makesrna/intern/rna_movieclip.cc index 3386911bb73..e57f6a45247 100644 --- a/source/blender/makesrna/intern/rna_movieclip.cc +++ b/source/blender/makesrna/intern/rna_movieclip.cc @@ -355,6 +355,7 @@ static void rna_def_movieclip(BlenderRNA *brna) RNA_def_property_array(prop, 2); RNA_def_property_range(prop, 0.1f, FLT_MAX); RNA_def_property_ui_range(prop, 0.1f, 5000.0f, 1, 2); + RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); RNA_def_property_ui_text( prop, "Display Aspect", "Display Aspect for this clip, does not affect rendering"); RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, nullptr);