diff options
Diffstat (limited to 'js/lib/rdge/materials/material.js')
-rwxr-xr-x | js/lib/rdge/materials/material.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/material.js b/js/lib/rdge/materials/material.js index d2586b58..34529e6b 100755 --- a/js/lib/rdge/materials/material.js +++ b/js/lib/rdge/materials/material.js | |||
@@ -331,6 +331,9 @@ var Material = function GLMaterial( world ) { | |||
331 | jObj[prop] = value; | 331 | jObj[prop] = value; |
332 | } | 332 | } |
333 | 333 | ||
334 | if (this.customExport) | ||
335 | jObj = this.customExport( jObj ); | ||
336 | |||
334 | return jObj; | 337 | return jObj; |
335 | }; | 338 | }; |
336 | 339 | ||