diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 00:25:21 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 00:25:21 -0300 |
commit | fa7a3ac0d329f7e3e7ade9cd530880af2da7b7dd (patch) | |
tree | b40c302a4aeb4c79a761d8eb8682e06acc829fea | |
parent | 0df45672e7d985268de3040c24b86b4ac075a1d8 (diff) |
removed deadcode
-rw-r--r-- | scene/gui/control.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 91d6a162f5..068801d0bb 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -768,12 +768,6 @@ Control* Control::_find_control_at_pos(CanvasItem* p_node,const Point2& p_global c->_window_sort_subwindows(); // sort them - int idx=0; - for (List<Control*>::Element *E=c->window->subwindows.front();E;E=E->next()) { - - if (!E->get()->is_visible()) - continue; - } for (List<Control*>::Element *E=c->window->subwindows.back();E;E=E->prev()) { Control *sw = E->get(); |