We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Can we have a JS error if the gltf does not match visual_logic.js

Home Forums General Questions Can we have a JS error if the gltf does not match visual_logic.js

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19271
    D3PixelD3Pixel
    Licensee

    Hi guys

    Is it possible to do a check between the visual_logic.js file and its expected gltf file at run time to avoid trying to run an updated script on an old gltf that does not have objects expected in it?

    Or at least throw console errors if selectors/clips are null when trying to perform operations.

    Cheers

    3D Animation and Web3D services - www.d3pixel.co.uk

    #19275
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    We intentionally suppress any errors from Puzzles making them ignored silently if anything is wrong. You however can check values using logic puzzles.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #19286
    D3PixelD3Pixel
    Licensee

    Ok, maybe a [debug = true] puzzle during development could be considered.

    3D Animation and Web3D services - www.d3pixel.co.uk

    #19312
    Yuri KovelenovYuri Kovelenov
    Developer

    We’ll think about it. Thanks for pointing this out!

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.