[x3d-public] exception on this file, set_translation field

John Carlson yottzumm at gmail.com
Mon Jun 6 18:01:07 PDT 2016


Apparently if (typeof … === ‘undefined’) { causes problems with BS Contact (and maybe Xj3D).  Is it due to my accessType?

Here’s a file that works under more circumstances, it appears.

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Monday, June 6, 2016 8:30 PM
To: doug sanden
Cc: X3D Graphics public mailing list
Subject: RE: [x3d-public] exception on this file, set_translation field


Interesting BS Contact reports errors, along the lines of:


Script node DECLBubble_bubbleA_bounce: parse error: line 21 "    if (typeof translation === 'undefined') {" ()
Can't load Script node URL in 

Script node DECLBubble_bubbleB_bounce: parse error: line 21 "    if (typeof translation === 'undefined') {" ()
Can't load Script node URL in 

Script node DECLBubble_bubbleC_bounce: parse error: line 21 "    if (typeof translation === 'undefined') {" ()
Can't load Script node URL in 

Script node DECLBubble_bubbleD_bounce: parse error: line 21 "    if (typeof translation === 'undefined') {" ()
Can't load Script node URL in 

Tis a puzzle.  Do I need to declare my fields as vars outside my functions?

Sent from Mail for Windows 10

From: John Carlson
Sent: Monday, June 6, 2016 8:20 PM
To: doug sanden
Cc: X3D Graphics public mailing list
Subject: RE: [x3d-public] exception on this file, set_translation field

Still puzzled about Xj3D/X3D-Edit and if there’s some standard that I am violating.  Octaga doesn’t report an error now.  FreeWRL and Octaga display fine.

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Monday, June 6, 2016 8:14 PM
To: doug sanden
Cc: X3D Graphics public mailing list
Subject: RE: [x3d-public] exception on this file, set_translation field

Whoops, here’s the file.

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Monday, June 6, 2016 7:54 PM
To: doug sanden
Cc: X3D Graphics public mailing list
Subject: Re: [x3d-public] exception on this file, set_translation field

Okay, this file is a bit closer.  I still get an error in Xj3D, schematron passes, and Instant Reality and Cobweb display fine.  I’ll try to bring up Octaga and FreeWRL when I boot into Windows.

John




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160606/a0e25f82/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cobweb-roundtrip.x3d
Type: application/octet-stream
Size: 4146 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160606/a0e25f82/attachment.obj>


More information about the x3d-public mailing list