aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/uber-material.js
diff options
context:
space:
mode:
authorhwc4872012-03-21 15:17:58 -0700
committerhwc4872012-03-21 15:17:58 -0700
commiteb59a523258cad3351cba9bf8de986e90a8e5b1c (patch)
tree98d07254f11e983631f27fe2d76b1c03a8646abf /js/lib/rdge/materials/uber-material.js
parent6b6fa1ec7d39057ce937f090b2965c09f1930070 (diff)
downloadninja-eb59a523258cad3351cba9bf8de986e90a8e5b1c.tar.gz
Added material library data to the canvas data.
Diffstat (limited to 'js/lib/rdge/materials/uber-material.js')
-rwxr-xr-xjs/lib/rdge/materials/uber-material.js5
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 =