diff options
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 | }; |