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.
This commit is contained in:
parent
942f5f0cb2
commit
281f5a4999
1 changed files with 1 additions and 1 deletions
|
@ -2915,7 +2915,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", callable_mp(this, &EditorPropertyResource::_sub_inspector_property_keyed));
|
||||
sub_inspector->connect("resource_selected", callable_mp(this, &EditorPropertyResource::_sub_inspector_resource_selected));
|
||||
|
|
Loading…
Reference in a new issue