From 549d344f0fef5e5748ded69b6a037698ff55f8bc Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 19 Sep 2014 18:39:50 -0300 Subject: 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) --- tools/editor/plugins/spatial_editor_plugin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/editor/plugins/spatial_editor_plugin.h') 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); -- cgit v1.2.3