diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-12-16 12:55:14 -0200 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-12-16 12:55:14 -0200 |
commit | 1664cd67101722f0955385ed6b463f534830aeed (patch) | |
tree | 46dc09545b506cf0f9c183536ffe874c311cc952 /demos | |
parent | 99cf6c0dc40a5124c21dd60379794baadfe296c2 (diff) | |
parent | ef02ef28675b02e9e8fb1e09ccc6acb1dd018b95 (diff) |
Merge pull request #980 from UsernameIsAReservedWord/fix-demo-3d-mousepick
fix demo 3d mousepick test
Diffstat (limited to 'demos')
-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) |