diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-09-19 18:39:50 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-09-19 18:39:50 -0300 |
commit | 549d344f0fef5e5748ded69b6a037698ff55f8bc (patch) | |
tree | a22ee2a3b0d6303fe3e4348831e7f581dd8a0a07 /tools/editor/plugins/spatial_editor_plugin.h | |
parent | 526aae62edfa31aa156d604e8b25caab512c6bff (diff) |
Fixing Issues...
- #672 (default user:// in $HOME/.godot/app_userdata (linux/osx) and $APPDATA/Godot/app_userdata (Windows)
- #676 (draw both tiles and octants in order from top to bottom, left to right )
- #686 (unicode escape sequences work now)
- #702 (was not a bug, but a test was added to see if bodies went too far away)
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.h')
-rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.h b/tools/editor/plugins/spatial_editor_plugin.h index bdeac2e4ef..4bbddbac58 100644 --- a/tools/editor/plugins/spatial_editor_plugin.h +++ b/tools/editor/plugins/spatial_editor_plugin.h @@ -222,6 +222,7 @@ public: void set_can_preview(Camera* p_preview); void set_state(const Dictionary& p_state); Dictionary get_state() const; + void reset(); @@ -477,6 +478,7 @@ public: Camera *get_camera() { return NULL; } void edit(Spatial *p_spatial); + void clear(); SpatialEditor(EditorNode *p_editor); ~SpatialEditor(); }; @@ -502,6 +504,7 @@ public: virtual Dictionary get_state() const; virtual void set_state(const Dictionary& p_state); + virtual void clear() { spatial_editor->clear(); } SpatialEditorPlugin(EditorNode *p_node); |