You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Create default_env.tres with the same format used to save it
This commit is contained in:
@@ -475,10 +475,12 @@ private:
|
||||
set_message(TTR("Couldn't create project.godot in project path."), MESSAGE_ERROR);
|
||||
} else {
|
||||
f->store_line("[gd_resource type=\"Environment\" load_steps=2 format=2]");
|
||||
f->store_line("");
|
||||
f->store_line("[sub_resource type=\"Sky\" id=1]");
|
||||
f->store_line("");
|
||||
f->store_line("[resource]");
|
||||
f->store_line("background_mode = 2");
|
||||
f->store_line("background_sky = SubResource( 1 )");
|
||||
f->store_line("sky = SubResource( 1 )");
|
||||
memdelete(f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user