mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 06:31:13 +00:00
CanvasItemEditorPlugin: Avoid selecting items from instanced scenes
- This behaviour is only applied to click selection. Rect selection and List selection can still select these items
This commit is contained in:
parent
50aa78210c
commit
fab57f2fbc
2 changed files with 11 additions and 2 deletions
|
|
@ -295,6 +295,7 @@ class CanvasItemEditor : public VBoxContainer {
|
|||
|
||||
|
||||
int handle_len;
|
||||
bool _is_part_of_subscene(CanvasItem *p_item);
|
||||
CanvasItem* _select_canvas_item_at_pos(const Point2 &p_pos,Node* p_node,const Matrix32& p_parent_xform,const Matrix32& p_canvas_xform);
|
||||
void _find_canvas_items_at_pos(const Point2 &p_pos,Node* p_node,const Matrix32& p_parent_xform,const Matrix32& p_canvas_xform, Vector<_SelectResult> &r_items);
|
||||
void _find_canvas_items_at_rect(const Rect2& p_rect,Node* p_node,const Matrix32& p_parent_xform,const Matrix32& p_canvas_xform,List<CanvasItem*> *r_items);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue