浏览代码

project history was not being saved after a recent fix, this should fix it

Juan Linietsky 9 年之前
父节点
当前提交
d911203829
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/editor/editor_settings.cpp

+ 1 - 1
tools/editor/editor_settings.cpp

@@ -166,7 +166,7 @@ void EditorSettings::_get_property_list(List<PropertyInfo> *p_list) const {
 			pinfo|=PROPERTY_USAGE_STORAGE;
 		}
 
-		if (!E->get().name.begins_with("_")) {
+		if (!E->get().name.begins_with("_") && !E->get().name.begins_with("projects/")) {
 			pinfo|=PROPERTY_USAGE_EDITOR;
 		} else {
 			pinfo|=PROPERTY_USAGE_STORAGE; //hiddens must always be saved