From 0094c30938c870cdc0dd546be792c7f1951b5e08 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 6 Sep 2016 19:38:31 -0300 Subject: Do not expose resource/ properties in sectioned property editor, closes #6396 --- tools/editor/property_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3