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.

Unable to Reference Updated Global Object From External Interface

Home Forums Programming Unable to Reference Updated Global Object From External Interface

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24132
    jstubbjstubb
    Licensee

    Hello,

    I am currently looking to read object properties from a global variable when a particular JS function is called from within puzzles. Currently the initial instance of the object is properly read by puzzles and corresponding adjustments are made to the model. However, once the object properties are updated by another JS file (that accessed the global object and prints it from within the project.js file for verification), the puzzles function is unable to see those changes to the object and still references the initial object.

    If anyone could point out what I’m doing wrong or give me some tips I would very much appreciate it. Thanks.

    I have posted some screenshots below:
    (note that the readout with nonzero shape factors is printed out from within the project.js file)

    • This topic was modified 3 months ago by jstubbjstubb.
    Attachments:
    You must be logged in to view attached files.
    #24186
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    It seems the screenshots were not attached for some reason.

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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.