Skip to content

SpawnOverlay returns 0 #5

@swfsql

Description

@swfsql

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions