diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-06 19:38:31 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-06 19:38:31 -0300 |
commit | 0094c30938c870cdc0dd546be792c7f1951b5e08 (patch) | |
tree | 91542c60699fa093398eeae7d9af0f88b64cae11 | |
parent | f31400c04d49aee2d2433b5404e2f17cf54da3a1 (diff) |
Do not expose resource/ properties in sectioned property editor, closes #6396
-rw-r--r-- | tools/editor/property_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index 2ea28e26ad..de10e68f33 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -4557,7 +4557,7 @@ void SectionedPropertyEditor::update_category_list() { else if ( !(pi.usage&PROPERTY_USAGE_EDITOR) ) continue; - if (pi.name.find(":")!=-1 || pi.name=="script/script") + if (pi.name.find(":")!=-1 || pi.name=="script/script" || pi.name.begins_with("resource/")) continue; int sp = pi.name.find("/"); if (sp!=-1) { |