diff options
| author | Juan Linietsky | 2016-09-06 19:38:31 -0300 |
|---|---|---|
| committer | Rémi Verschelde | 2016-09-18 23:10:14 +0200 |
| commit | e0ddef3164600c21c38cb38034fd89ea919df0aa (patch) | |
| tree | 4c57f83de90efbf43187c1552b4843dba67468de | |
| parent | 7178399548d928ea28ca8861ace7203cae184288 (diff) | |
| download | godot-e0ddef3164600c21c38cb38034fd89ea919df0aa.tar.gz godot-e0ddef3164600c21c38cb38034fd89ea919df0aa.tar.zst godot-e0ddef3164600c21c38cb38034fd89ea919df0aa.zip | |
Do not expose resource/ properties in sectioned property editor, closes #6396
(cherry picked from commit 0094c30938c870cdc0dd546be792c7f1951b5e08)
| -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 58182bcd5..1ffcc4d37 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -4283,7 +4283,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) { |
