[2.6] Don't send extruder stack to CuraEngine when there is only 1 extruder #2009
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes an issue which causes settings to be ignored if a Custom FDM Printer is used with the number of extruders set to 1. Fixes #2007
When there is 1 extruder, the frontend stores all settings in the global stack. Sending an extruder stack confuses CuraEngine into using the values of the extruder stack, which results in defaults being used.
Basically, single extrusion Custom FDM Printers are broken at the moment, so if there were a point-release for Cura 2.6 it would be great if this fix could be included.
Steps to reproduce:
Expected:
The E-value for the last G1 reflects the changed amount of material
Actual:
The E-value for the last G1 reflects the original amount of material, for 2.85 mm diameter.