summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/3d/mousepick_test/mousepick.gd2
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)