UI: Rename RNA name 'Resolution %' to 'Resolution Scale'

This is not used in the UI except for the tooltip.
UI elements should be given full names rather than relying on symbols.

This improves the API docs as well as makes it a more understandable tooltip message.

Pull Request: https://projects.blender.org/blender/blender/pulls/110865
This commit is contained in:
Aaron Carlisle
2023-08-11 06:04:57 +02:00
parent d2a2d06691
commit 48ac28ce84

View File

@@ -6420,7 +6420,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_range(prop, 1, SHRT_MAX);
RNA_def_property_ui_range(prop, 1, 100, 10, 1);
RNA_def_property_ui_text(prop, "Resolution %", "Percentage scale for render resolution");
RNA_def_property_ui_text(prop, "Resolution Scale", "Percentage scale for render resolution");
RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_SceneSequencer_update");
prop = RNA_def_property(srna, "preview_pixel_size", PROP_ENUM, PROP_NONE);