diff options
author | hwc487 | 2012-03-21 15:17:58 -0700 |
---|---|---|
committer | hwc487 | 2012-03-21 15:17:58 -0700 |
commit | eb59a523258cad3351cba9bf8de986e90a8e5b1c (patch) | |
tree | 98d07254f11e983631f27fe2d76b1c03a8646abf /js/lib/rdge/materials/pulse-material.js | |
parent | 6b6fa1ec7d39057ce937f090b2965c09f1930070 (diff) | |
download | ninja-eb59a523258cad3351cba9bf8de986e90a8e5b1c.tar.gz |
Added material library data to the canvas data.
Diffstat (limited to 'js/lib/rdge/materials/pulse-material.js')
-rw-r--r-- | js/lib/rdge/materials/pulse-material.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/lib/rdge/materials/pulse-material.js b/js/lib/rdge/materials/pulse-material.js index fd2cbe0b..e6be69b4 100644 --- a/js/lib/rdge/materials/pulse-material.js +++ b/js/lib/rdge/materials/pulse-material.js | |||
@@ -165,10 +165,6 @@ var PulseMaterial = function PulseMaterial() { | |||
165 | // JSON export | 165 | // JSON export |
166 | this.exportJSON = function() | 166 | this.exportJSON = function() |
167 | { | 167 | { |
168 | var world = this.getWorld(); | ||
169 | if (!world) | ||
170 | throw new Error( "no world in material.export, " + this.getName() ); | ||
171 | |||
172 | var jObj = | 168 | var jObj = |
173 | { | 169 | { |
174 | 'material' : this.getShaderName(), | 170 | 'material' : this.getShaderName(), |