diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-06-22 17:31:37 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-06-22 17:31:37 +0300 |
commit | 1b973b3f3ca59594b9aa2f6859a014a1c6cf94b1 (patch) | |
tree | d9fda14b30fda41450dc1b17bc19ff42a186e32c /plugins/SolidView | |
parent | 61def4ba255840cb32f17cc3d2297bcb074358d3 (diff) |
Remove bit of code duplication
CURA-7106
Diffstat (limited to 'plugins/SolidView')
-rw-r--r-- | plugins/SolidView/SolidView.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index dc88265d68..118160382e 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -198,11 +198,6 @@ class SolidView(View): extruder_index = "0" extruder_index = int(extruder_index) - # Use the support extruder instead of the active extruder if this is a support_mesh - if per_mesh_stack: - if per_mesh_stack.getProperty("support_mesh", "value"): - extruder_index = int(global_container_stack.getExtruderPositionValueWithDefault("support_extruder_nr")) - try: material_color = self._extruders_model.getItem(extruder_index)["color"] except KeyError: |