aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/GLMaterial.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-08 14:24:48 -0800
committerNivesh Rajbhandari2012-02-08 14:24:48 -0800
commit2d68f944e93b201deb46015392e706b7a24201c9 (patch)
tree55367f4efb8a49447753e473af52f878f1584b64 /js/helper-classes/RDGE/GLMaterial.js
parent79ef4e4f51f8981feac3f3bddb6a06aa37407542 (diff)
downloadninja-2d68f944e93b201deb46015392e706b7a24201c9.tar.gz
Fixed several typos in Materials import/export code to support toggling between 2d and 3d shape modes.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/helper-classes/RDGE/GLMaterial.js')
-rw-r--r--js/helper-classes/RDGE/GLMaterial.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/GLMaterial.js b/js/helper-classes/RDGE/GLMaterial.js
index 51c27ace..e1a68abd 100644
--- a/js/helper-classes/RDGE/GLMaterial.js
+++ b/js/helper-classes/RDGE/GLMaterial.js
@@ -186,7 +186,7 @@ function GLMaterial( world )
186 var endKey = "endMaterial\n"; 186 var endKey = "endMaterial\n";
187 var index = importStr.indexOf( endKey ); 187 var index = importStr.indexOf( endKey );
188 index += endKey.length; 188 index += endKey.length;
189 rtnStr = importStr.substr( index ); 189 var rtnStr = importStr.substr( index );
190 190
191 return rtnStr; 191 return rtnStr;
192 } 192 }