Changeset 13239


Ignore:
Timestamp:
09/04/12 14:40:49 (13 years ago)
Author:
Mathieu Morlighem
Message:

BUG: allow md.materials to be loaded even for old models

Location:
issm/trunk-jpl/src/m/classes
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/model/model.m

    r13150 r13239  
    7272                                 md = structtomodel(model,md);
    7373                         end
     74
     75                         %2012 August 4th
     76                         if isa(md.materials,'materials'),
     77                                 disp('Recovering old materials');
     78                                 md.materials=matice(md.materials);
     79                         end
     80
    7481                 end% }}}
    7582         end
Note: See TracChangeset for help on using the changeset viewer.