Is this issue reproducible in the latest nightly build?
- [x] I have checked the latest nightly build and the issue is still reproducible
Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
2.5.2
Regression compared to a previous version
No response
Operating System (OS)
Linux
OS Version
Debian
Additional system information
No response
Printer
custom
How to reproduce
Enable in Printersettings retract and set Extra length on restart
if i set retract to 0 to dissable, Extra length on restart input feld is disabled but my last value is sored and is used by the slicing process
for my understanind if a input field is disabeld for me the function is disabeld but here i only cant change
src/libslic3r/Extruder.cpp
93: double Extruder::retract(double length, double restart_extra) … 111: double to_retract = std::max(0., length - m_retracted); 112: m_restart_extra = restart_extra; // ← **needs do go 2 lines bot in the if part?** 113: if (to_retract > 0.) { 114: m_E -= to_retract; 115: m_absolute_E -= to_retract; 116: m_retracted += to_retract; 117: }
Actual results
disabled but slicer calculate the extra distance
Expected results
if the field is disabled the function should ignored by the slicer for my understanding
Project file & Debug log uploads
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
No response