mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 12:42:02 +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()
|
PrintObject::generate_support_material()
|
||||||
{
|
{
|
||||||
auto* print { this->_print };
|
auto* print { this->_print };
|
||||||
auto& config {this->config };
|
const auto& config { this->config };
|
||||||
//prereqs
|
//prereqs
|
||||||
this->_slice();
|
this->_slice();
|
||||||
if (this->state.is_done(posSupportMaterial)) { return; }
|
if (this->state.is_done(posSupportMaterial)) { return; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user