mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-13 23:43:03 +00:00
Give value of config to const m_initial_config, not ref
This commit is contained in:
@@ -343,7 +343,7 @@ void CalibPressureAdvanceLine::delta_modify_start(double& startx, double& starty
|
||||
|
||||
CalibPressureAdvancePattern::CalibPressureAdvancePattern(
|
||||
const Calib_Params& params,
|
||||
DynamicPrintConfig& config,
|
||||
DynamicPrintConfig config,
|
||||
const bool& is_bbl_machine,
|
||||
Model& model
|
||||
) :
|
||||
|
||||
@@ -140,7 +140,7 @@ friend struct DrawBoxOptArgs;
|
||||
public:
|
||||
CalibPressureAdvancePattern(
|
||||
const Calib_Params& params,
|
||||
DynamicPrintConfig& config,
|
||||
DynamicPrintConfig config,
|
||||
const bool& is_bbl_machine,
|
||||
Model& model
|
||||
);
|
||||
|
||||
@@ -8160,7 +8160,7 @@ void Plater::_calib_pa_pattern(const Calib_Params& params)
|
||||
wxGetApp().get_tab(Preset::TYPE_PRINT)->update_dirty();
|
||||
wxGetApp().get_tab(Preset::TYPE_PRINT)->reload_config();
|
||||
|
||||
DynamicPrintConfig full_config = wxGetApp().preset_bundle->full_config();
|
||||
const DynamicPrintConfig full_config = wxGetApp().preset_bundle->full_config();
|
||||
PresetBundle* preset_bundle = wxGetApp().preset_bundle;
|
||||
CalibPressureAdvancePattern pa_pattern(
|
||||
params,
|
||||
|
||||
Reference in New Issue
Block a user