Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpawnOverlay returns 0 #5

Open
swfsql opened this issue Aug 9, 2020 · 0 comments
Open

SpawnOverlay returns 0 #5

swfsql opened this issue Aug 9, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@swfsql
Copy link
Owner

swfsql commented Aug 9, 2020

The SpawnOverlay function shold return the Uid of the new overlay, but it always returns 0 instead.

For example:

init main
ovrt_sys.js:317 calling spawn_overlay
ovrt_sys.js:320 transform_str: {"posX":0.0,"posY":0.0,"posZ":0.0,"rotX":0.0,"rotY":0.0,"rotZ":0.0,"size":0.25,"opacity":1.0,"curvature":0.0,"framerate":60,"ecoMode":true,"lookHiding":false,"attachedDevice":0,"shouldSave":false}
ovrt_sys.js:323 called spawn_overlay Uid: 0
ovrt_sys.js:323 event overlay_opened. Uid: 932
ovrt_sys.js:323 spawn_overlay_callback. Uid: 932
ovrt_sys.js:317 event api_init

Both the direct callback and the general event callback registered de Uid 932, but spawn_overlay registered de 0 - no matter how many overlay are spawned.

@swfsql swfsql added the bug Something isn't working label Aug 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant