aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-22 16:21:39 -0800
committerNivesh Rajbhandari2012-02-22 16:21:39 -0800
commit7b9b1e6dab88875b85230fc6f4fa0fca94e8b82f (patch)
tree1f28a0e44a3e1e3755e02c87ee93ead9ec65f4a7 /js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
parentd5b216d9d6d2b8cb93106e8f8ca351089d05b41d (diff)
downloadninja-7b9b1e6dab88875b85230fc6f4fa0fca94e8b82f.tar.gz
PulseMaterial and RadialBlurMaterial had typos in their import code.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/helper-classes/RDGE/Materials/RadialBlurMaterial.js')
-rw-r--r--js/helper-classes/RDGE/Materials/RadialBlurMaterial.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js b/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
index 732800cf..a5fb134c 100644
--- a/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
+++ b/js/helper-classes/RDGE/Materials/RadialBlurMaterial.js
@@ -192,6 +192,17 @@ function RadialBlurMaterial()
192 this.setName( pu.nextValue( "name: ") ); 192 this.setName( pu.nextValue( "name: ") );
193 193
194 var rtnStr; 194 var rtnStr;
195 try
196 {
197 var endKey = "endMaterial\n";
198 var index = importStr.indexOf( endKey );
199 index += endKey.length;
200 rtnStr = importStr.substr( index );
201 }
202 catch (e)
203 {
204 throw new Error( "could not import material: " + importStr );
205 }
195 206
196 return rtnStr; 207 return rtnStr;
197 } 208 }