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 c633f679..e72b7908 100644 --- a/js/helper-classes/RDGE/GLMaterial.js +++ b/js/helper-classes/RDGE/GLMaterial.js | |||
@@ -215,7 +215,7 @@ function GLMaterial( world ) | |||
215 | var endKey = "endMaterial\n"; | 215 | var endKey = "endMaterial\n"; |
216 | var index = importStr.indexOf( endKey ); | 216 | var index = importStr.indexOf( endKey ); |
217 | index += endKey.length; | 217 | index += endKey.length; |
218 | rtnStr = importStr.substr( index ); | 218 | var rtnStr = importStr.substr( index ); |
219 | 219 | ||
220 | return rtnStr; | 220 | return rtnStr; |
221 | } | 221 | } |