aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-animation/src/main/resources
diff options
context:
space:
mode:
authorJoshua Slack <[email protected]>2017-10-18 21:27:41 -0500
committerJoshua Slack <[email protected]>2017-10-18 21:27:41 -0500
commitc95d4d0f2d611377287a6e461362092a501287ac (patch)
tree75a06d26f6ba5071ea88160b1200779a63075536 /ardor3d-animation/src/main/resources
parent80b4e363ddb63b5b588d68af480b3821141d8e45 (diff)
Fixed a bug in javascript caused by js engine change in Java 1.7+
Diffstat (limited to 'ardor3d-animation/src/main/resources')
-rw-r--r--ardor3d-animation/src/main/resources/com/ardor3d/extension/animation/skeletal/state/loader/functions.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ardor3d-animation/src/main/resources/com/ardor3d/extension/animation/skeletal/state/loader/functions.js b/ardor3d-animation/src/main/resources/com/ardor3d/extension/animation/skeletal/state/loader/functions.js
index 4e0b2cd..d449a69 100644
--- a/ardor3d-animation/src/main/resources/com/ardor3d/extension/animation/skeletal/state/loader/functions.js
+++ b/ardor3d-animation/src/main/resources/com/ardor3d/extension/animation/skeletal/state/loader/functions.js
@@ -1,3 +1,6 @@
+// load our helper functions first...
+try{ load("nashorn:mozilla_compat.js"); } catch(e){}
+
importPackage(Packages.com.ardor3d.extension.animation.skeletal);
importPackage(Packages.com.ardor3d.extension.animation.skeletal.blendtree);
importPackage(Packages.com.ardor3d.extension.animation.skeletal.clip);