Ignore:
Timestamp:
05/06/25 22:56:57 (2 days ago)
Author:
Maciej Komosinski
Message:

Introduced GeneProps::get_standard_values(): a getter function to ensure controlled initialization of the static "standard_values" object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f1/f1_conv.cpp

    r1302 r1335  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2023  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2025  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    136136        Builder builder(settings, g, map ? 1 : 0);
    137137        builder.model.open(using_checkpoints);
    138         builder.grow(-1, g, Pt3D_0, GeneProps::standard_values, -1); // uses Model::addFromString() to create model elements
     138        builder.grow(-1, g, Pt3D_0, GeneProps::get_standard_values(), -1); // uses Model::addFromString() to create model elements
    139139        if (builder.invalid) return SString();
    140140        builder.addPendingInputs();
Note: See TracChangeset for help on using the changeset viewer.