From 331b2ad4d602016f9bb3d03be759fd81fed50c10 Mon Sep 17 00:00:00 2001 From: hwc487 Date: Fri, 13 Apr 2012 07:08:42 -0700 Subject: Cloud Material --- js/lib/drawing/world.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'js/lib/drawing/world.js') 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 ) { rtnVal = this.hHasAnimatedMaterials( root ); this._hasAnimatedMaterials = rtnVal; } + else + { + // currently... + // we set this case to true - cloud materials create a + // world with no objects but cloud materials animate. + // TODO - find a better way to do this + rtnVal = true; + this._hasAnimatedMaterials = true; + } return rtnVal; }; -- cgit v1.2.3