diff options
Diffstat (limited to 'modules/csg/csg_gizmos.h')
| -rw-r--r-- | modules/csg/csg_gizmos.h | 20 | 
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/csg/csg_gizmos.h b/modules/csg/csg_gizmos.h index 966b654802..7763989b2a 100644 --- a/modules/csg/csg_gizmos.h +++ b/modules/csg/csg_gizmos.h @@ -33,25 +33,25 @@  #include "csg_shape.h"  #include "editor/editor_plugin.h" -#include "editor/spatial_editor_gizmos.h" +#include "editor/node_3d_editor_gizmos.h" -class CSGShapeSpatialGizmoPlugin : public EditorSpatialGizmoPlugin { +class CSGShape3DGizmoPlugin : public EditorNode3DGizmoPlugin { -	GDCLASS(CSGShapeSpatialGizmoPlugin, EditorSpatialGizmoPlugin); +	GDCLASS(CSGShape3DGizmoPlugin, EditorNode3DGizmoPlugin);  public: -	bool has_gizmo(Spatial *p_spatial); +	bool has_gizmo(Node3D *p_spatial);  	String get_name() const;  	int get_priority() const;  	bool is_selectable_when_hidden() const; -	void redraw(EditorSpatialGizmo *p_gizmo); +	void redraw(EditorNode3DGizmo *p_gizmo); -	String get_handle_name(const EditorSpatialGizmo *p_gizmo, int p_idx) const; -	Variant get_handle_value(EditorSpatialGizmo *p_gizmo, int p_idx) const; -	void set_handle(EditorSpatialGizmo *p_gizmo, int p_idx, Camera *p_camera, const Point2 &p_point); -	void commit_handle(EditorSpatialGizmo *p_gizmo, int p_idx, const Variant &p_restore, bool p_cancel); +	String get_handle_name(const EditorNode3DGizmo *p_gizmo, int p_idx) const; +	Variant get_handle_value(EditorNode3DGizmo *p_gizmo, int p_idx) const; +	void set_handle(EditorNode3DGizmo *p_gizmo, int p_idx, Camera3D *p_camera, const Point2 &p_point); +	void commit_handle(EditorNode3DGizmo *p_gizmo, int p_idx, const Variant &p_restore, bool p_cancel); -	CSGShapeSpatialGizmoPlugin(); +	CSGShape3DGizmoPlugin();  };  class EditorPluginCSG : public EditorPlugin {  |