diff options
Diffstat (limited to 'js/lib/rdge/materials/uber-material.js')
-rwxr-xr-x | js/lib/rdge/materials/uber-material.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/js/lib/rdge/materials/uber-material.js b/js/lib/rdge/materials/uber-material.js index 0868e3e9..c1d1913c 100755 --- a/js/lib/rdge/materials/uber-material.js +++ b/js/lib/rdge/materials/uber-material.js | |||
@@ -579,11 +579,6 @@ var UberMaterial = function UberMaterial() { | |||
579 | 579 | ||
580 | this.exportJSON = function() | 580 | this.exportJSON = function() |
581 | { | 581 | { |
582 | // we will be needing the world. Make sure it is there | ||
583 | var world = this.getWorld(); | ||
584 | if (!world) | ||
585 | throw new Error( "no world in material.export, " + this.getName() ); | ||
586 | |||
587 | // every material needs the base type and instance name | 582 | // every material needs the base type and instance name |
588 | var caps = this._ubershaderCaps; | 583 | var caps = this._ubershaderCaps; |
589 | var jObj = | 584 | var jObj = |