Ignore:
Timestamp:
02/20/18 01:08:04 (7 years ago)
Author:
Maciej Komosinski
Message:

Added support for developmental phases ("checkpoints") to converters f9->f0 and fF->f0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fF/conv_fF.cpp

    r736 r740  
    4343
    4444        Model m;
    45         m.open();
     45        m.open(using_checkpoints);
    4646
    4747        m.vis_style = "foram"; //dedicated visual look for Foraminifera
     
    5353        Part *p1 = addNewPart(&m, chambers[0]);
    5454        p1->scale = Pt3D(gp.radius0x, gp.radius0y, gp.radius0z); //size of the initial chamber
     55        m.checkpoint();
    5556        for (int i = 1; i < gp.number_of_chambers; i++)
    5657        {
     
    5859                p2->scale = p1->scale.entrywiseProduct(Pt3D(gp.scalex, gp.scaley, gp.scalez)); //each part's scale is its predecessor's scale * scaling
    5960                m.addNewJoint(p1, p2, Joint::SHAPE_FIXED); //all parts must be connected
     61                m.checkpoint();
    6062                p1 = p2;
    6163        }
Note: See TracChangeset for help on using the changeset viewer.