aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/spatial_editor_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde2016-03-09 00:14:08 +0100
committerRémi Verschelde2016-03-09 00:14:08 +0100
commite46e43d2aaa6339a1675eb989f41885e745bf5c3 (patch)
treecf91f2869ff8f058c6682569fb31e22e5ee736ad /tools/editor/plugins/spatial_editor_plugin.h
parent1dad6eca812e5c2e313b54265114de8a1d73d999 (diff)
parent4a4f2479146aa33e235ed57cde311efda68d3c8f (diff)
downloadgodot-e46e43d2aaa6339a1675eb989f41885e745bf5c3.tar.gz
godot-e46e43d2aaa6339a1675eb989f41885e745bf5c3.tar.zst
godot-e46e43d2aaa6339a1675eb989f41885e745bf5c3.zip
Merge pull request #3928 from Marqin/whitespace
remove trailing whitespace - sorry for the broken PRs, please rebase :)
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.h')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.h b/tools/editor/plugins/spatial_editor_plugin.h
index af1b6919a..54086b003 100644
--- a/tools/editor/plugins/spatial_editor_plugin.h
+++ b/tools/editor/plugins/spatial_editor_plugin.h
@@ -278,7 +278,7 @@ public:
};
class SpatialEditor : public VBoxContainer {
-
+
OBJ_TYPE(SpatialEditor, VBoxContainer );
public:
@@ -338,7 +338,7 @@ private:
Ref<Mesh> selection_box;
RID indicators;
- RID indicators_instance;
+ RID indicators_instance;
RID cursor_mesh;
RID cursor_instance;
RID indicator_mat;
@@ -352,7 +352,7 @@ private:
Spatial *sp;
RID poly_instance;
};
-
+
Map<uint32_t,Selected> selected;
*/
struct Gizmo {
@@ -361,8 +361,8 @@ private:
float scale;
Transform transform;
} gizmo;
-
-
+
+
enum MenuOption {
@@ -471,7 +471,7 @@ private:
void _update_default_light_angle();
void _default_light_angle_input(const InputEvent& p_event);
-protected:
+protected:
@@ -481,7 +481,7 @@ protected:
void _unhandled_key_input(InputEvent p_event);
static void _bind_methods();
-public:
+public:
static SpatialEditor *get_singleton() { return singleton; }
@@ -541,9 +541,9 @@ public:
};
class SpatialEditorPlugin : public EditorPlugin {
-
+
OBJ_TYPE( SpatialEditorPlugin, EditorPlugin );
-
+
SpatialEditor *spatial_editor;
EditorNode *editor;
protected:
@@ -555,7 +555,7 @@ public:
SpatialEditor *get_spatial_editor() { return spatial_editor; }
virtual String get_name() const { return "3D"; }
bool has_main_screen() const { return true; }
- virtual void make_visible(bool p_visible);
+ virtual void make_visible(bool p_visible);
virtual void edit(Object *p_object);
virtual bool handles(Object *p_object) const;