Hi!
Am I doing something wrong here? I can't figure it out no matter what I try.
Code
console.log(krpano.get("layer[rwl_fsmzob].x"));
console.log(krpano.get("layer[rwl_fsmzob].y"));
krpano.call("layertoscreen(rwl_fsmzob,layer[rwl_fsmzob].x,layer[rwl_fsmzob].y,sx,sy)");
console.log(krpano.get("sx"));
console.log(krpano.get("sy"));
This produces 0, 0, null, null in the log...
I read through the documentation several times, and can't find any problems. The layer in question is NOT rotated...it's a textfield layer, but I tried it with png graphics and got the same results. Any ideas?