Do not expose resource/ properties in sectioned property editor, closes #6396
(cherry picked from commit 0094c30938
)
This commit is contained in:
parent
7178399548
commit
e0ddef3164
1 changed files with 1 additions and 1 deletions
|
@ -4283,7 +4283,7 @@ void SectionedPropertyEditor::update_category_list() {
|
||||||
else if ( !(pi.usage&PROPERTY_USAGE_EDITOR) )
|
else if ( !(pi.usage&PROPERTY_USAGE_EDITOR) )
|
||||||
continue;
|
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;
|
continue;
|
||||||
int sp = pi.name.find("/");
|
int sp = pi.name.find("/");
|
||||||
if (sp!=-1) {
|
if (sp!=-1) {
|
||||||
|
|
Loading…
Reference in a new issue