Merge pull request #9866 from RandomShaper/default-motion-fix-2.1

Enable 2D physics motion fix for new projects (2.1)
This commit is contained in:
Rémi Verschelde 2017-07-26 13:04:37 +02:00 committed by GitHub
commit 3c357f3247

View File

@ -206,6 +206,10 @@ private:
f->store_line("\n");
f->store_line("name=\"" + project_name->get_text() + "\"");
f->store_line("icon=\"res://icon.png\"");
f->store_line("\n");
f->store_line("[physics_2d]");
f->store_line("\n");
f->store_line("motion_fix_enabled=true");
memdelete(f);