Do not expose resource/ properties in sectioned property editor, closes #6396
This commit is contained in:
parent
f31400c04d
commit
0094c30938
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user