Ignore:
Timestamp:
02/17/16 15:11:07 (9 years ago)
Author:
dlcheng
Message:

CHG (javascript): Bug fixes for plot_mesh, fixing default plot centering, globe support for mesh3d plot surfaces.

File:
1 edited

Legend:

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

    r19935 r20205  
    9898                                break;
    9999                        case 'mesh':
    100                                 plot_mesh(md,options,canvas,gl,nodes["main"]);
     100                                plot_mesh(md,options,canvas,gl,canvas.nodes["data"+String(canvas.datalength)]);
    101101                                break;
    102102                        case 'none':
     
    227227       
    228228        //Draw into the canvas if needed:
    229         if (requestDrawing)     draw(gl,options,canvas,canvas.nodes);
     229        if (requestDrawing)     draw(gl,options,canvas);
    230230}
Note: See TracChangeset for help on using the changeset viewer.