diff options
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(), |