Changeset 972 for cpp/frams/userinput
- Timestamp:
- 07/03/20 00:32:23 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/userinput/modelcheckpoints.cpp
r741 r972 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 18Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 45 45 freeModel(); 46 46 if (g != NULL) 47 mod = new Model(*g, true, false);47 mod = new Model(*g, Model::SHAPE_UNKNOWN, true, false); 48 48 toguiCheckpoints(use_checkpoints ? EnabledUnknown : Disabled, 1, 1); 49 49 int ret = model_view.showModel(mod); … … 58 58 { 59 59 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); 61 61 if (mod_checkpoints->getCheckpointCount() > 1) 62 62 {
Note: See TracChangeset
for help on using the changeset viewer.