ソースを参照

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

Juan Linietsky 9 年 前
コミット
0094c30938
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tools/editor/property_editor.cpp

+ 1 - 1
tools/editor/property_editor.cpp

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