mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 16:12:01 +08:00
fix the config ref to be const
This commit is contained in:
parent
2b741bc8a1
commit
f739eb11af
@ -1151,7 +1151,7 @@ void
|
||||
PrintObject::generate_support_material()
|
||||
{
|
||||
auto* print { this->_print };
|
||||
auto& config {this->config };
|
||||
const auto& config { this->config };
|
||||
//prereqs
|
||||
this->_slice();
|
||||
if (this->state.is_done(posSupportMaterial)) { return; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user