Closed olafgithub closed 1 year ago
I noticed in 5.0.0 that a nested PROTO Script node does not run. In 4.7.7 (and maybe later too) it works fine.
MINIMAL EXAMPLE
PROTO PRO [ ] { PROTO SCR [ ] { Script { url "javascript:
function initialize() { print( 'SCR::function initialize()' ); } " }
}
other stuff here
SCR {} }
PRO {}
With X_ITE 4,7.7 the message is printed on the console. With X_ITE 5,0.0 No message is printed on the console.
With 5.0.0 the script node is NOT initialized and DOES NOT run.
Windows 10 Google Chrome Same error with Edge and Firefox
timer_test.txt
Thank you for posting this bug. The bug should be fixed now and a new new version is published.
Great!
I just tested it with 5.0.2 Works fine
Olaf
I noticed in 5.0.0 that a nested PROTO Script node does not run. In 4.7.7 (and maybe later too) it works fine.
MINIMAL EXAMPLE
VRML V2.0 utf8
PROTO PRO [ ] { PROTO SCR [ ] { Script { url "javascript:
}
other stuff here
SCR {} }
PRO {}
With X_ITE 4,7.7 the message is printed on the console. With X_ITE 5,0.0 No message is printed on the console.
With 5.0.0 the script node is NOT initialized and DOES NOT run.
Windows 10 Google Chrome Same error with Edge and Firefox
timer_test.txt