You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
-Ensure .tscn and .tres always save in a deterministic way, fixes #2495
-Scene edit state is saved outside the scene now, to avoid changes .tscn files when nothing really changed -Created a VariantWriter helper to unify all variant to text writing -Moved SceneFormatText writing to VariantWriter -Moved ConfigFile to use VariantWriter and VariantParser, added compatibility mode for old .cfg files that use engine.cfg format
This commit is contained in:
@@ -304,6 +304,7 @@ Error Globals::setup(const String& p_path,const String & p_main_pack) {
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
if (OS::get_singleton()->get_resource_dir()!="") {
|
||||
//OS will call Globals->get_resource_path which will be empty if not overriden!
|
||||
//if the OS would rather use somewhere else, then it will not be empty.
|
||||
|
||||
Reference in New Issue
Block a user