mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Hide extruder swatch for groups
This commit is contained in:
parent
e13a0bca4a
commit
ea805d9a02
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,8 @@ class ObjectsModel(ListModel):
|
||||||
break
|
break
|
||||||
|
|
||||||
extruder_number = int(node.callDecoration("getActiveExtruderPosition"))
|
extruder_number = int(node.callDecoration("getActiveExtruderPosition"))
|
||||||
if node_mesh_type == "anti_overhang_mesh":
|
if node_mesh_type == "anti_overhang_mesh" or node.callDecoration("isGroup"):
|
||||||
# for anti overhang meshes, the extruder nr is irrelevant
|
# for anti overhang meshes and groups the extruder nr is irrelevant
|
||||||
extruder_number = -1
|
extruder_number = -1
|
||||||
|
|
||||||
nodes.append({
|
nodes.append({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue