Răsfoiți Sursa

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

Juan Linietsky 9 ani în urmă
părinte
comite
d911203829
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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