From cdeda67942224b1f386f10cf704e61f4506549a6 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Sat, 7 Mar 2015 20:25:18 -0800 Subject: [PATCH] Collision Model url --- examples/libraries/entityPropertyDialogBox.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/libraries/entityPropertyDialogBox.js b/examples/libraries/entityPropertyDialogBox.js index 0cb76276d8..8fb7c10e5b 100644 --- a/examples/libraries/entityPropertyDialogBox.js +++ b/examples/libraries/entityPropertyDialogBox.js @@ -49,6 +49,8 @@ EntityPropertyDialogBox = (function () { if (properties.type == "Model") { array.push({ label: "Model URL:", value: properties.modelURL }); index++; + array.push({ label: "Collision Model URL:", value: properties.collisionModelURL }); + index++; array.push({ label: "Animation URL:", value: properties.animationURL }); index++; array.push({ label: "Animation is playing:", type: "checkbox", value: properties.animationIsPlaying }); @@ -271,6 +273,7 @@ EntityPropertyDialogBox = (function () { properties.locked = array[index++].value; if (properties.type == "Model") { properties.modelURL = array[index++].value; + properties.collisionModelURL = array[index++].value; properties.animationURL = array[index++].value; var newAnimationIsPlaying = array[index++].value;