You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix selection of instanced scenes in 3D
This commit is contained in:
@@ -127,9 +127,7 @@ public:
|
||||
virtual void redraw();
|
||||
virtual void free();
|
||||
|
||||
//TODO remove (?)
|
||||
virtual bool is_editable() const;
|
||||
virtual bool can_draw() const;
|
||||
|
||||
void set_hidden(bool p_hidden);
|
||||
void set_plugin(EditorSpatialGizmoPlugin *p_gizmo);
|
||||
@@ -226,7 +224,7 @@ private:
|
||||
void _compute_edit(const Point2 &p_point);
|
||||
void _clear_selected();
|
||||
void _select_clicked(bool p_append, bool p_single);
|
||||
void _select(Spatial *p_node, bool p_append, bool p_single);
|
||||
void _select(Node *p_node, bool p_append, bool p_single);
|
||||
ObjectID _select_ray(const Point2 &p_pos, bool p_append, bool &r_includes_current, int *r_gizmo_handle = NULL, bool p_alt_select = false);
|
||||
void _find_items_at_pos(const Point2 &p_pos, bool &r_includes_current, Vector<_RayResult> &results, bool p_alt_select = false);
|
||||
Vector3 _get_ray_pos(const Vector2 &p_pos) const;
|
||||
@@ -677,7 +675,7 @@ public:
|
||||
Ref<ArrayMesh> get_scale_plane_gizmo(int idx) const { return scale_plane_gizmo[idx]; }
|
||||
|
||||
void update_transform_gizmo();
|
||||
void update_all_gizmos();
|
||||
void update_all_gizmos(Node *p_node = NULL);
|
||||
void snap_selected_nodes_to_floor();
|
||||
void select_gizmo_highlight_axis(int p_axis);
|
||||
void set_custom_camera(Node *p_camera) { custom_camera = p_camera; }
|
||||
|
||||
Reference in New Issue
Block a user