Changeset 506


Ignore:
Timestamp:
05/07/16 11:25:32 (9 years ago)
Author:
oriona
Message:

Visual style for reticulopodia created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/foraminifera/data/scripts/foraminifera.expdef

    r504 r506  
    365365        if (ExpProperties.visualize == 1)
    366366        {
    367                 var ret = Populations[2].add("//0\np:sh=1,sx=0.001,sy=0.001,sz=0.001\np:sh=3,sx=0.01,sy="+getZoneRange(cr,1)+",sz="+getZoneRange(cr,1)+",ry=1.57079633,vr="+curColor+"\nj:0, 1, sh=1");
     367                var ret = Populations[2].add("//0\nm:Vstyle=reticulopodia\np:sh=1,sx=0.001,sy=0.001,sz=0.001\np:sh=3,sx=0.01,sy="+getZoneRange(cr,1)+",sz="+getZoneRange(cr,1)+",ry=1.57079633,vr="+curColor+"\nj:0, 1, sh=1");
    368368                cr.data->reticulopodiacreature = ret;
    369                 ret.getMechPart(0).orient.set(o);
     369                ret.getMechPart(0).orient.set(cr.getMechPart(0).orient);
    370370                ret.moveAbs(cr.center_x-getZoneRange(cr,1), cr.center_y-getZoneRange(cr,1), cr.center_z-getZoneRange(cr,1));
    371371        }
Note: See TracChangeset for help on using the changeset viewer.