goToFeetLocation too few arguments


#1

I am using the new ‘goToFeetLocation’ function, but running into some trouble.

I get the error message:

[10/02 17:01:29] [DEBUG] [qml] [FlickableWebViewCore.qml] Web Entity JS message: 
https://vhilab.github.io/cdr-hf-hosting/tablet/teleporting.html 76 C 2 1 button click
[10/02 17:01:29] [DEBUG] [hifi.scriptengine.script] [app.js] app.js received a web event: {"type":"cdr- 
click","data":{"value":"C","row":2,"col":1}}
[10/02 17:01:29] [DEBUG] [hifi.scriptengine.script] [app.js] type iscdr-click
[10/02 17:01:29] [DEBUG] [hifi.scriptengine.script] [app.js] data is[object Object]
[10/02 17:01:29] [DEBUG] [hifi.scriptengine.script] [app.js] target position is 
{"x":-44.5,"y":-11.49,"z":-39.51}
[10/02 17:01:29] [CRITICAL] [hifi.scriptengine] [app.js] [UncaughtException signalHandlerException] 
Error: too few arguments in call to goToFeetLocation(); candidates are
[10/02 17:01:29] [CRITICAL] [hifi.scriptengine]     goToFeetLocation(glm::vec3,bool,glm::quat,bool) in 
https://vhilab.github.io/cdr-hf-hosting/tablet/app.js:86
[10/02 17:01:29] [CRITICAL] [hifi.scriptengine] [Backtrace]
[10/02 17:01:29] [CRITICAL] [hifi.scriptengine]     onWebEventReceived(event = [object Object]) at 
https://vhilab.github.io/cdr-hf-hosting/tablet/app.js:86
[10/02 17:01:29] [CRITICAL] [hifi.scriptengine]     <global>() at -1

I’ve varied the number of arguments, but I can’t seem to get the error to go away. As it stands right now, I have all four arguments, but it still complains about having too few.

I’m running the most recent beta version [0.73.1] and the full code of app.js is available here: