You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Do not expose resource/ properties in sectioned property editor, closes #6396
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user