From d7d65fa2f2b51d03f7bdfcbceedca99188ce979c Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 19 Feb 2014 11:57:14 -0300 Subject: -improved physics ccd -html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken --- platform/android/.old/os_android.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/android') diff --git a/platform/android/.old/os_android.cpp b/platform/android/.old/os_android.cpp index ecd87a3af9..9fbfaedd3d 100644 --- a/platform/android/.old/os_android.cpp +++ b/platform/android/.old/os_android.cpp @@ -223,6 +223,7 @@ void OS_Android::process_touch(int p_what,int p_pointer, const Vector& ev.mouse_button.y=touch[0].pos.y; ev.mouse_button.global_x=touch[0].pos.x; ev.mouse_button.global_y=touch[0].pos.y; + input->set_mouse_pos(Point2(ev.mouse_button.x,ev.mouse_button.y)); main_loop->input_event(ev); @@ -259,6 +260,7 @@ void OS_Android::process_touch(int p_what,int p_pointer, const Vector& ev.mouse_button.global_x=touch[0].pos.x; ev.mouse_button.global_y=touch[0].pos.y; last_mouse=touch[0].pos; + input->set_mouse_pos(Point2(ev.mouse_button.x,ev.mouse_button.y)); main_loop->input_event(ev); } -- cgit v1.2.3