Ignore:
Timestamp:
07/14/20 00:22:32 (4 years ago)
Author:
Maciej Komosinski
Message:

Model::rawGeno() now ignores model validity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/model.cpp

    r999 r1002  
    441441{
    442442        Geno tmpgen;
    443         makeGeno(tmpgen);
     443        makeGeno(tmpgen, NULL, true, true);
    444444        return tmpgen;
    445445}
    446446
    447 void Model::makeGeno(Geno &g, MultiMap *map, bool handle_defaults)
    448 {
    449         if ((buildstatus != valid) && (buildstatus != building))
     447void Model::makeGeno(Geno &g, MultiMap *map, bool handle_defaults, bool can_be_invalid)
     448{
     449        if ((buildstatus != valid) && (!can_be_invalid))
    450450        {
    451451                g = Geno("", Geno::FORMAT_INVALID, "", "invalid model");
Note: See TracChangeset for help on using the changeset viewer.