diff options
Diffstat (limited to 'js/helper-classes/RDGE/GLMaterial.js')
-rw-r--r-- | js/helper-classes/RDGE/GLMaterial.js | 2 |
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 | } |