diff options
author | hwc487 | 2012-03-12 14:59:08 -0700 |
---|---|---|
committer | hwc487 | 2012-03-12 14:59:08 -0700 |
commit | 46defc9bd11bf077efd672c72787a3b67da1a178 (patch) | |
tree | 2de2441e25f91f00280ec17deaefcbceffbc37e9 /js/lib/rdge/materials/flat-material.js | |
parent | ef2dd5dfc557154d4755914f73963da8e858c4f1 (diff) | |
download | ninja-46defc9bd11bf077efd672c72787a3b67da1a178.tar.gz |
Uber material changes for IO
Diffstat (limited to 'js/lib/rdge/materials/flat-material.js')
-rwxr-xr-x | js/lib/rdge/materials/flat-material.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/lib/rdge/materials/flat-material.js b/js/lib/rdge/materials/flat-material.js index 97e4f646..fff0e68e 100755 --- a/js/lib/rdge/materials/flat-material.js +++ b/js/lib/rdge/materials/flat-material.js | |||
@@ -102,13 +102,7 @@ var FlatMaterial = function FlatMaterial() { | |||
102 | try | 102 | try |
103 | { | 103 | { |
104 | var color = eval( "[" + pu.nextValue( "color: " ) + "]" ); | 104 | var color = eval( "[" + pu.nextValue( "color: " ) + "]" ); |
105 | |||
106 | this.setProperty( "color", color); | 105 | this.setProperty( "color", color); |
107 | |||
108 | var endKey = "endMaterial\n"; | ||
109 | var index = importStr.indexOf( endKey ); | ||
110 | index += endKey.length; | ||
111 | rtnStr = importStr.substr( index ); | ||
112 | } | 106 | } |
113 | catch (e) | 107 | catch (e) |
114 | { | 108 | { |