Ignore:
Timestamp:
07/03/20 00:32:23 (4 years ago)
Author:
Maciej Komosinski
Message:
  • separate "0" and "0s" formats (for SHAPE_BALL_AND_STICK and SHAPE_SOLIDS, respectively)
  • converting to format list (Geno::F0_FORMAT_LIST = "0,0s")
  • (optional) declaring Model as SHAPE_BALL_AND_STICK or SHAPE_SOLIDS (or SHAPE_UNKNOWN)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/genomanipulation.cpp

    r955 r972  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2019  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    210210                        else
    211211                                printf("(This class does not have its own properties\n"
    212                                 " - Neuro::classProperties().getPropCount()==0)\n");
     212                                        " - Neuro::classProperties().getPropCount()==0)\n");
    213213                }
    214214        }
     
    230230        {
    231231                SyntParam p = n->classProperties();
    232                 if (p.getPropCount()>0)
     232                if (p.getPropCount() > 0)
    233233                {
    234234                        printProperties(p);
     
    284284                g.getFormat().c_str(), g.getComment().c_str());
    285285
    286         Model m(g);//.getConverted('0'));
     286        Model m(g, Model::SHAPE_UNKNOWN);//.getConverted('0'));
    287287
    288288        if (!m.isValid())
Note: See TracChangeset for help on using the changeset viewer.