From f6948193f1967405a10ca7ec11005e58aedc7d82 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Sat, 7 Mar 2015 20:24:11 -0800 Subject: [PATCH] add fields for collision model url --- examples/html/entityProperties.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/examples/html/entityProperties.html b/examples/html/entityProperties.html index fd1a4e3821..f2c7d80cfd 100644 --- a/examples/html/entityProperties.html +++ b/examples/html/entityProperties.html @@ -138,6 +138,7 @@ var elModelSections = document.querySelectorAll(".model-section"); var elModelURL = document.getElementById("property-model-url"); + var elCollisionModelURL = document.getElementById("property-collision-model-url"); var elModelAnimationURL = document.getElementById("property-model-animation-url"); var elModelAnimationPlaying = document.getElementById("property-model-animation-playing"); var elModelAnimationFPS = document.getElementById("property-model-animation-fps"); @@ -267,6 +268,7 @@ } elModelURL.value = properties.modelURL; + elCollisionModelURL.value = properties.collisionModelURL; elModelAnimationURL.value = properties.animationURL; elModelAnimationPlaying.checked = properties.animationIsPlaying; elModelAnimationFPS.value = properties.animationFPS; @@ -391,6 +393,7 @@ elLightCutoff.addEventListener('change', createEmitNumberPropertyUpdateFunction('cutoff')); elModelURL.addEventListener('change', createEmitTextPropertyUpdateFunction('modelURL')); + elCollisionModelURL.addEventListener('change', createEmitTextPropertyUpdateFunction('collisionModelURL')); elModelAnimationURL.addEventListener('change', createEmitTextPropertyUpdateFunction('animationURL')); elModelAnimationPlaying.addEventListener('change', createEmitCheckedPropertyUpdateFunction('animationIsPlaying')); elModelAnimationFPS.addEventListener('change', createEmitNumberPropertyUpdateFunction('animationFPS')); @@ -622,6 +625,12 @@ +
+
Collision Model URL
+
+ +
+
Animation URL