<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks,<div class=""><br class=""></div><div class="">That got me closer.   Here’s the correct patch:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-"    if (typeof scalevel === 'undefined') {",</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-"\t\tscalevel = [0, 0, 0];",</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">+"    if (typeof scalvel === 'undefined') {",</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">+"\t\tscalvel = [0, 0, 0];”,</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">scale is defined as a field, so it doesn’t need a var, does it?</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">John</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div><blockquote type="cite" class=""><div class="">On Jun 6, 2016, at 5:50 PM, doug sanden <<a href="mailto:highaspirations@hotmail.com" class="">highaspirations@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">J,<br class="">Octaga has good line number output in its console:<br class="">WARNING: ECMAParser: Error near line 56 in file C:\Users/higha_000/Downloads/cobweb.x3d : syntax error, unexpected ';', expecting ')'<br class="">WARNING: scalevel is undefined (in script starting at line 22 in C:\Users/higha_000/Downloads/cobweb.x3d )<br class=""><br class="">   if (typeof scale === 'undefined') {<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre">    </span>scale = [1, 1, 1];<br class="">should probably be <br class="">var scale = [1,  1, 1];<br class="">-D<br class="">________________________________________<br class="">From: x3d-public <<a href="mailto:x3d-public-bounces@web3d.org" class="">x3d-public-bounces@web3d.org</a>> on behalf of John Carlson <<a href="mailto:yottzumm@gmail.com" class="">yottzumm@gmail.com</a>><br class="">Sent: June 6, 2016 3:16 PM<br class="">To: X3D Graphics public mailing list<br class="">Subject: Re: [x3d-public] exception on this file, set_translation field<br class=""><br class="">This file works in Instant Player, but not Xj3D.<br class=""><br class="">See attached.<br class=""><br class="">John<br class=""></div></div></blockquote></div><br class=""></div></body></html>