Do not expose resource/ properties in sectioned property editor, closes #6396

This commit is contained in:
Juan Linietsky 2016-09-06 19:38:31 -03:00
parent f31400c04d
commit 0094c30938

View File

@ -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) {