diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-13 18:17:18 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-13 18:17:18 -0300 |
commit | 827a9aa8294e7e2405f645579cc3e7044f3be079 (patch) | |
tree | 9c516119c26e0e5d60179363ea615c27bb4e4fd6 /tools/editor/create_dialog.cpp | |
parent | bfe67a3b87ada532d27df015141af8eb6091ef89 (diff) |
Added a generic AStar implementation to Godot.
It's pretty fast, use it for games where Navigation does not cut it.
Diffstat (limited to 'tools/editor/create_dialog.cpp')
-rw-r--r-- | tools/editor/create_dialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/create_dialog.cpp b/tools/editor/create_dialog.cpp index 5ff4df90f6..320939cb97 100644 --- a/tools/editor/create_dialog.cpp +++ b/tools/editor/create_dialog.cpp @@ -88,6 +88,8 @@ void CreateDialog::popup(bool p_dontclear) { memdelete(f); } else { +#if 0 +// I think this was way too confusing if (base_type=="Node") { //harcode some favorites :D favorite_list.push_back("Panel"); @@ -107,6 +109,7 @@ void CreateDialog::popup(bool p_dontclear) { favorite_list.push_back("AnimationPlayer"); } +#endif } _update_favorite_list(); |