mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Added a project specific config to the PresetBundle class.
This project specific config will be stored into the config.ini, into .3mf and .amf and .gcode, and recover it from the same files.
This commit is contained in:
parent
0781dd8271
commit
5f28b89ae0
3 changed files with 16 additions and 0 deletions
|
@ -39,6 +39,11 @@ public:
|
|||
// extruders.size() should be the same as printers.get_edited_preset().config.nozzle_diameter.size()
|
||||
std::vector<std::string> filament_presets;
|
||||
|
||||
// The project configuration values are kept separated from the print/filament/printer preset,
|
||||
// they are being serialized / deserialized from / to the .amf, .3mf, .config, .gcode,
|
||||
// and they are being used by slicing core.
|
||||
DynamicPrintConfig project_config;
|
||||
|
||||
bool has_defauls_only() const
|
||||
{ return prints.size() <= 1 && filaments.size() <= 1 && printers.size() <= 1; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue