You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to call utilities.writeObject(objectLookup, objectName, objectID) to store the mapping of objectName->ID immediately when the object gets created. Currently it waits for you to add a target image or restart the server. Otherwise, utilities.readObject(objectName) returns null so the tool doesn't know which object to attach to (in if (req.body.action === 'new') of webServer.post(objectInterfaceFolder, ...)
The text was updated successfully, but these errors were encountered:
benptc
changed the title
Trying to add new tool to an anchor object immediately after its creation -> fails
Trying to add new tool to an anchor object immediately after its creation -> fails (using web interface)
Aug 3, 2020
I looked into why:
We need to call
utilities.writeObject(objectLookup, objectName, objectID)
to store the mapping of objectName->ID immediately when the object gets created. Currently it waits for you to add a target image or restart the server. Otherwise,utilities.readObject(objectName)
returns null so the tool doesn't know which object to attach to (inif (req.body.action === 'new')
ofwebServer.post(objectInterfaceFolder, ...
)The text was updated successfully, but these errors were encountered: