diff options
| author | Ferenc Arn | 2017-05-24 16:47:34 -0500 |
|---|---|---|
| committer | Ferenc Arn | 2017-05-24 17:09:53 -0500 |
| commit | fdf301e78bd41415b30d1b2f55eadcd515aaa78d (patch) | |
| tree | d349477804ef8b5b5b01241e63c3593113c03da4 /editor/plugins/path_editor_plugin.h | |
| parent | 2e3145de65257ed39a5d01c5592ea0fb90cd00ba (diff) | |
| download | godot-fdf301e78bd41415b30d1b2f55eadcd515aaa78d.tar.gz godot-fdf301e78bd41415b30d1b2f55eadcd515aaa78d.tar.zst godot-fdf301e78bd41415b30d1b2f55eadcd515aaa78d.zip | |
Diffstat (limited to 'editor/plugins/path_editor_plugin.h')
| -rw-r--r-- | editor/plugins/path_editor_plugin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/plugins/path_editor_plugin.h b/editor/plugins/path_editor_plugin.h index 4dbda1026..01b2d64f7 100644 --- a/editor/plugins/path_editor_plugin.h +++ b/editor/plugins/path_editor_plugin.h @@ -32,7 +32,7 @@ #include "editor/spatial_editor_gizmos.h" #include "scene/3d/path.h" -#if 0 + class PathSpatialGizmo : public EditorSpatialGizmo { GDCLASS(PathSpatialGizmo,EditorSpatialGizmo); @@ -81,7 +81,7 @@ public: static PathEditorPlugin* singleton; Ref<SpatialMaterial> path_material; Ref<SpatialMaterial> path_thin_material; - virtual bool forward_spatial_gui_input(Camera* p_camera,const InputEvent& p_event); + virtual bool forward_spatial_gui_input(Camera* p_camera, const Ref<InputEvent> &p_event); //virtual bool forward_gui_input(const InputEvent& p_event) { return collision_polygon_editor->forward_gui_input(p_event); } virtual Ref<SpatialEditorGizmo> create_spatial_gizmo(Spatial* p_spatial); @@ -96,5 +96,4 @@ public: }; -#endif #endif // PATH_EDITOR_PLUGIN_H |
