From ef02ef28675b02e9e8fb1e09ccc6acb1dd018b95 Mon Sep 17 00:00:00 2001 From: yg2f Date: Tue, 16 Dec 2014 15:17:29 +0100 Subject: [PATCH] fix demo 3d mousepick test add the missing camera parameter to the _input_event() --- demos/3d/mousepick_test/mousepick.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/3d/mousepick_test/mousepick.gd b/demos/3d/mousepick_test/mousepick.gd index cf3d9f1e4e8..c96091b6503 100644 --- a/demos/3d/mousepick_test/mousepick.gd +++ b/demos/3d/mousepick_test/mousepick.gd @@ -9,7 +9,7 @@ var gray_mat = FixedMaterial.new() var selected=false -func _input_event(event,pos,normal,shape): +func _input_event(camera,event,pos,normal,shape): if (event.type==InputEvent.MOUSE_BUTTON and event.pressed): if (not selected): get_node("mesh").set_material_override(gray_mat)