From eb59a523258cad3351cba9bf8de986e90a8e5b1c Mon Sep 17 00:00:00 2001 From: hwc487 Date: Wed, 21 Mar 2012 15:17:58 -0700 Subject: Added material library data to the canvas data. --- js/lib/rdge/materials/uber-material.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'js/lib/rdge/materials/uber-material.js') 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() { this.exportJSON = function() { - // we will be needing the world. Make sure it is there - var world = this.getWorld(); - if (!world) - throw new Error( "no world in material.export, " + this.getName() ); - // every material needs the base type and instance name var caps = this._ubershaderCaps; var jObj = -- cgit v1.2.3