diff options
author | yg2f <yoann@terminajones.com> | 2014-12-16 15:17:29 +0100 |
---|---|---|
committer | yg2f <yoann@terminajones.com> | 2014-12-16 15:17:29 +0100 |
commit | ef02ef28675b02e9e8fb1e09ccc6acb1dd018b95 (patch) | |
tree | 46dc09545b506cf0f9c183536ffe874c311cc952 /demos/3d | |
parent | 99cf6c0dc40a5124c21dd60379794baadfe296c2 (diff) |
fix demo 3d mousepick test
add the missing camera parameter to the _input_event()
Diffstat (limited to 'demos/3d')
-rw-r--r-- | demos/3d/mousepick_test/mousepick.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/3d/mousepick_test/mousepick.gd b/demos/3d/mousepick_test/mousepick.gd index cf3d9f1e4e..c96091b650 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) |