Fix indentation issues in last commits

Ping @reduz.
This commit is contained in:
Rémi Verschelde 2016-06-07 07:39:40 +02:00
parent 78218359b1
commit 0729c852b4
4 changed files with 30 additions and 32 deletions

View File

@ -482,7 +482,6 @@ void CanvasItem::_enter_canvas() {
} else {
CanvasItem *parent = get_parent_item();
canvas_layer=parent->canvas_layer;
VisualServer::get_singleton()->canvas_item_set_parent(canvas_item,parent->get_canvas_item());

View File

@ -1585,9 +1585,8 @@ void Viewport::_gui_call_input(Control *p_control,const InputEvent& p_input) {
if (!control->is_inside_tree())
break;
control->emit_signal(SceneStringNames::get_singleton()->input_event,p_input);
if (!control->is_inside_tree() || control->is_set_as_toplevel()) {
if (!control->is_inside_tree() || control->is_set_as_toplevel())
break;
}
if (gui.key_event_accepted)
break;
if (control->data.stop_mouse && (p_input.type==InputEvent::MOUSE_BUTTON || p_input.type==InputEvent::MOUSE_MOTION))