-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
This commit is contained in:
parent
d9e94fa0c3
commit
1894157c9f
31 changed files with 498 additions and 1732 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue