diff options
author | hwc487 | 2012-04-13 07:08:42 -0700 |
---|---|---|
committer | hwc487 | 2012-04-13 07:08:42 -0700 |
commit | 331b2ad4d602016f9bb3d03be759fd81fed50c10 (patch) | |
tree | 6bd56180f319d400881356626f32919a4d6b1f63 /js/lib/drawing | |
parent | 1fa8516bcd0fb0277c13a7081b5a51ce041d3496 (diff) | |
download | ninja-331b2ad4d602016f9bb3d03be759fd81fed50c10.tar.gz |
Cloud Material
Diffstat (limited to 'js/lib/drawing')
-rwxr-xr-x | js/lib/drawing/world.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/lib/drawing/world.js b/js/lib/drawing/world.js index da8a26ad..5eca26b8 100755 --- a/js/lib/drawing/world.js +++ b/js/lib/drawing/world.js | |||
@@ -333,6 +333,15 @@ var World = function GLWorld( canvas, use3D, preserveDrawingBuffer ) { | |||
333 | rtnVal = this.hHasAnimatedMaterials( root ); | 333 | rtnVal = this.hHasAnimatedMaterials( root ); |
334 | this._hasAnimatedMaterials = rtnVal; | 334 | this._hasAnimatedMaterials = rtnVal; |
335 | } | 335 | } |
336 | else | ||
337 | { | ||
338 | // currently... | ||
339 | // we set this case to true - cloud materials create a | ||
340 | // world with no objects but cloud materials animate. | ||
341 | // TODO - find a better way to do this | ||
342 | rtnVal = true; | ||
343 | this._hasAnimatedMaterials = true; | ||
344 | } | ||
336 | 345 | ||
337 | return rtnVal; | 346 | return rtnVal; |
338 | }; | 347 | }; |