Changeset 157 for cpp/frams/genetics/f9
- Timestamp:
- 03/01/14 22:38:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f9/conv_f9.cpp
r139 r157 52 52 setColors(m); 53 53 m.close(); 54 if (m.getPartCount() < 2) //only one part <=> there were no valid turtle commands in the input genotype 55 return ""; //so we return an invalid f0 genotype 54 56 return m.getF0Geno().getGene(); 55 57 } … … 57 59 int GenoConv_f90::addSegment(Model &m,vector<XYZ_LOC> &vertices,const XYZ_LOC &new_vertex,int recently_added) 58 60 { 59 if (vertices.size()<1) 61 if (vertices.size()<1) //empty model? 60 62 { 61 63 return addNewVertex(m,vertices,new_vertex);
Note: See TracChangeset
for help on using the changeset viewer.