Don't hide the script property in sub inspectors.

This commit is contained in:
Relintai 2023-10-16 09:41:43 +02:00
parent 1ff5cdf911
commit 1102a6c2e5

View File

@ -3551,6 +3551,7 @@ void EditorPropertyResource::update_property() {
sub_inspector = memnew(EditorInspector);
sub_inspector->set_enable_v_scroll(false);
sub_inspector->set_use_doc_hints(true);
sub_inspector->set_hide_script(false);
sub_inspector->set_sub_inspector(true);
sub_inspector->set_enable_capitalize_paths(bool(EDITOR_GET("interface/inspector/capitalize_properties")));