Changeset 20836


Ignore:
Timestamp:
06/30/16 21:45:34 (9 years ago)
Author:
dlcheng
Message:

CHG (javascript): Eliminating blank frames in between consecutive plotmodel calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/webgl.js

    r20790 r20836  
    475475} //}}}
    476476function draw(canvas,options) { //{{{
    477         if (!canvas.nodes) {
     477        if (canvas.nodes.length < 1) {
    478478                canvas.drawHandler = window.requestAnimationFrame(function(time) {draw(canvas,options)});
    479479                return;
Note: See TracChangeset for help on using the changeset viewer.