[x3d-public] X3DJSAIL. adding a field value to a ProtoInstanceObject.

yottzumm at gmail.com yottzumm at gmail.com
Tue Feb 21 15:22:01 PST 2017


I’m connecting it to the scenegraph???  You mean the interface or the IS?  Looks like validate is called before the field value is added.

John

www_web3d_org/x3d/content/examples/Savage/ShipsMilitary/RunningLights/RunningLightsExample.java
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldException: Illegal addFieldValue() invocation, invalid newFieldValue.validation(): fieldValue is not connected to a scene graph and cannot be checked.
fieldValue is not connected to a scene graph and cannot be checked.

        at org.web3d.x3d.jsail.Core.ProtoInstanceObject.addFieldValue(ProtoInstanceObject.java:972)
        at www_web3d_org.x3d.content.examples.Savage.ShipsMilitary.RunningLights.RunningLightsExample.main(RunningLightsExample.java:268)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170221/7ccad52a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RunningLightsExample.java
Type: application/octet-stream
Size: 46514 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170221/7ccad52a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RunningLightsExample.json
Type: application/json
Size: 33310 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170221/7ccad52a/attachment-0001.json>


More information about the x3d-public mailing list