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/bump-metal-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/bump-metal-material.js')
-rwxr-xr-x | js/lib/rdge/materials/bump-metal-material.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/lib/rdge/materials/bump-metal-material.js b/js/lib/rdge/materials/bump-metal-material.js index 4a6e9ab8..2ef83227 100755 --- a/js/lib/rdge/materials/bump-metal-material.js +++ b/js/lib/rdge/materials/bump-metal-material.js | |||
@@ -154,10 +154,6 @@ var BumpMetalMaterial = function BumpMetalMaterial() { | |||
154 | 154 | ||
155 | this.exportJSON = function() | 155 | this.exportJSON = function() |
156 | { | 156 | { |
157 | var world = this.getWorld(); | ||
158 | if (!world) | ||
159 | throw new Error( "no world in material.export, " + this.getName() ); | ||
160 | |||
161 | var jObj = | 157 | var jObj = |
162 | { | 158 | { |
163 | 'material' : this.getShaderName(), | 159 | 'material' : this.getShaderName(), |