diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-09-01 21:52:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-01 21:52:55 +0200 |
commit | dac150108ab3c1f41d5fd86cc6853f883064caaf (patch) | |
tree | 09195c9dd5e0d651e96b7d26f26985ab5ff6f871 /editor/plugins/canvas_item_editor_plugin.cpp | |
parent | 69ac4cbb3764a454194e27a7afe71d98af65c32c (diff) | |
parent | f9467ec1ea6c0dac2ea513b7dfe58d0349788e02 (diff) |
Merge pull request #10846 from hpvb/fix-sign-compare
Fix signed and unsigned comparisons
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 4f3472bf03..601842799a 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -409,7 +409,7 @@ bool CanvasItemEditor::_is_part_of_subscene(CanvasItem *p_item) { return item_owner && item_owner != scene_node && p_item != scene_node && item_owner->get_filename() != ""; } -void CanvasItemEditor::_find_canvas_items_at_pos(const Point2 &p_pos, Node *p_node, const Transform2D &p_parent_xform, const Transform2D &p_canvas_xform, Vector<_SelectResult> &r_items, unsigned int limit) { +void CanvasItemEditor::_find_canvas_items_at_pos(const Point2 &p_pos, Node *p_node, const Transform2D &p_parent_xform, const Transform2D &p_canvas_xform, Vector<_SelectResult> &r_items, int limit) { if (!p_node) return; if (Object::cast_to<Viewport>(p_node)) |