mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Merge remote-tracking branch 'remotes/origin/ys_preset_externals_bf'
This commit is contained in:
commit
161a2bc6f8
2 changed files with 13 additions and 6 deletions
|
@ -353,6 +353,10 @@ public:
|
|||
// Generate a file path from a profile name. Add the ".ini" suffix if it is missing.
|
||||
std::string path_from_name(const std::string &new_name) const;
|
||||
|
||||
// update m_edited_preset.is_external value after loading preset for .ini, .gcode, .amf, .3mf
|
||||
void update_edited_preset_is_external(bool is_external) {
|
||||
m_edited_preset.is_external = is_external; }
|
||||
|
||||
protected:
|
||||
// Select a preset, if it exists. If it does not exist, select an invalid (-1) index.
|
||||
// This is a temporary state, which shall be fixed immediately by the following step.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue