diff options
Diffstat (limited to 'o3d/samples/o3d-webgl/client.js')
-rw-r--r-- | o3d/samples/o3d-webgl/client.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/o3d/samples/o3d-webgl/client.js b/o3d/samples/o3d-webgl/client.js index b585b72..869320b 100644 --- a/o3d/samples/o3d-webgl/client.js +++ b/o3d/samples/o3d-webgl/client.js @@ -97,8 +97,9 @@ o3d.Renderer.clients_ = []; o3d.Renderer.renderClients = function() { for (var i = 0; i < o3d.Renderer.clients_.length; ++i) { var client = o3d.Renderer.clients_[i]; - - client.render(); + if (client.renderMode == o3d.Client.RENDERMODE_CONTINUOUS) { + client.render(); + } } }; |