Changeset 972 for cpp/frams/userinput


Ignore:
Timestamp:
07/03/20 00:32:23 (3 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/userinput/modelcheckpoints.cpp

    r741 r972  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2018  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    4545        freeModel();
    4646        if (g != NULL)
    47                 mod = new Model(*g, true, false);
     47                mod = new Model(*g, Model::SHAPE_UNKNOWN, true, false);
    4848        toguiCheckpoints(use_checkpoints ? EnabledUnknown : Disabled, 1, 1);
    4949        int ret = model_view.showModel(mod);
     
    5858        {
    5959                if (p == current_value) return;
    60                 mod_checkpoints = new Model(mod->getGeno(), false, true);
     60                mod_checkpoints = new Model(mod->getGeno(), Model::SHAPE_UNKNOWN, false, true);
    6161                if (mod_checkpoints->getCheckpointCount() > 1)
    6262                {
Note: See TracChangeset for help on using the changeset viewer.