Fix always capitalized properties in sub-inspector
Fix #46961:
This commit correctly initialize capitalization in sub-inspectors (like shaders's sub-inspector in the inspector panel) with the editor settings.
(cherry picked from commit 281f5a4999
)
This commit is contained in:
parent
2f1a8ae751
commit
7ca7acce7b
1 changed files with 1 additions and 1 deletions
|
@ -2702,7 +2702,7 @@ void EditorPropertyResource::update_property() {
|
|||
sub_inspector->set_use_doc_hints(true);
|
||||
|
||||
sub_inspector->set_sub_inspector(true);
|
||||
sub_inspector->set_enable_capitalize_paths(true);
|
||||
sub_inspector->set_enable_capitalize_paths(bool(EDITOR_GET("interface/inspector/capitalize_properties")));
|
||||
|
||||
sub_inspector->connect("property_keyed", this, "_sub_inspector_property_keyed");
|
||||
sub_inspector->connect("resource_selected", this, "_sub_inspector_resource_selected");
|
||||
|
|
Loading…
Reference in a new issue