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 a74a74e4..642fab05 100644 --- a/js/helper-classes/RDGE/GLMaterial.js +++ b/js/helper-classes/RDGE/GLMaterial.js | |||
@@ -226,7 +226,7 @@ function GLMaterial( world ) | |||
226 | var endKey = "endMaterial\n"; | 226 | var endKey = "endMaterial\n"; |
227 | var index = importStr.indexOf( endKey ); | 227 | var index = importStr.indexOf( endKey ); |
228 | index += endKey.length; | 228 | index += endKey.length; |
229 | rtnStr = importStr.substr( index ); | 229 | var rtnStr = importStr.substr( index ); |
230 | 230 | ||
231 | return rtnStr; | 231 | return rtnStr; |
232 | } | 232 | } |