aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/spatial_editor_plugin.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-08-26 00:40:45 -0300
committerJuan Linietsky2017-08-26 00:47:28 -0300
commit1894157c9fab05984428d83a743b0fe1d720c80c (patch)
tree817530eb75258c3dc6c73d4eb276af7b61761b06 /editor/plugins/spatial_editor_plugin.h
parentd9e94fa0c308f8f157e71fb03bab5834308b56ee (diff)
downloadgodot-1894157c9fab05984428d83a743b0fe1d720c80c.tar.gz
godot-1894157c9fab05984428d83a743b0fe1d720c80c.tar.zst
godot-1894157c9fab05984428d83a743b0fe1d720c80c.zip
-Massive clean up to gizmos
-Make sure handles are always visible (on top) -Fixed instanced scene selection (should work properly now) -Added interpolated camera -Customizable gizmo colors in editor settings
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.h')
-rw-r--r--editor/plugins/spatial_editor_plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/spatial_editor_plugin.h b/editor/plugins/spatial_editor_plugin.h
index 2fd72739d..7797a657c 100644
--- a/editor/plugins/spatial_editor_plugin.h
+++ b/editor/plugins/spatial_editor_plugin.h
@@ -49,6 +49,7 @@ class SpatialEditorGizmo : public SpatialGizmo {
GDCLASS(SpatialEditorGizmo, SpatialGizmo);
bool selected;
+ bool instanced;
public:
void set_selected(bool p_selected) { selected = p_selected; }
@@ -240,7 +241,7 @@ private:
void set_message(String p_message, float p_time = 5);
//
- void _update_camera();
+ void _update_camera(float p_interp_delta);
Transform to_camera_transform(const Cursor &p_cursor) const;
void _draw();