Changeset 19927


Ignore:
Timestamp:
01/05/16 23:35:48 (9 years ago)
Author:
dlcheng
Message:

CHG (javascript): Correcting height scaling for ocean mask shading.

Location:
issm/trunk-jpl/src/m/plot
Files:
2 edited

Legend:

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

    r19925 r19927  
    5656        node["drawOrder"] = 1;
    5757        node["maskEnabled"] = options.getfieldvalue('outermask','off') == 'on';
    58         node["maskHeight"] = options.getfieldvalue('outermaskheight',150.0)*options.getfieldvalue('heightscale',1);
     58        node["maskHeight"] = options.getfieldvalue('outermaskheight',150.0);
    5959        node["maskColor"] = options.getfieldvalue('outermaskcolor',[0.0,0.0,1.0,1.0]);
    6060                               
  • issm/trunk-jpl/src/m/plot/plot_unit.js

    r19920 r19927  
    6262        node["drawOrder"] = 0;
    6363        node["maskEnabled"] = options.getfieldvalue('innermask','off') == 'on';
    64         node["maskHeight"] = options.getfieldvalue('innermaskheight',150.0)*options.getfieldvalue('heightscale',1);
     64        node["maskHeight"] = options.getfieldvalue('innermaskheight',150.0);
    6565        node["maskColor"] = options.getfieldvalue('innermaskcolor',[0.0,0.0,1.0,1.0]);
    6666        node["enabled"] = options.getfieldvalue('nodata','off') == 'off';
Note: See TracChangeset for help on using the changeset viewer.