mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Have Print::apply_config() return true if any step was invalidated
This commit is contained in:
parent
5e80d7a388
commit
97231327e0
4 changed files with 23 additions and 9 deletions
|
@ -87,8 +87,8 @@ _constant()
|
|||
|
||||
bool invalidate_state_by_config_options(std::vector<std::string> opt_keys);
|
||||
void invalidate_step(PrintObjectStep step);
|
||||
void invalidate_all_steps()
|
||||
%code%{ THIS->state.invalidate_all(); %};
|
||||
bool invalidate_all_steps()
|
||||
%code%{ RETVAL = THIS->state.invalidate_all(); %};
|
||||
bool step_done(PrintObjectStep step)
|
||||
%code%{ RETVAL = THIS->state.done(step); %};
|
||||
void set_step_done(PrintObjectStep step)
|
||||
|
@ -142,8 +142,8 @@ _constant()
|
|||
|
||||
bool invalidate_state_by_config_options(std::vector<std::string> opt_keys);
|
||||
void invalidate_step(PrintStep step);
|
||||
void invalidate_all_steps()
|
||||
%code%{ THIS->state.invalidate_all(); %};
|
||||
bool invalidate_all_steps()
|
||||
%code%{ RETVAL = THIS->state.invalidate_all(); %};
|
||||
bool step_done(PrintStep step)
|
||||
%code%{ RETVAL = THIS->state.done(step); %};
|
||||
void set_step_done(PrintStep step)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue