mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Less cryptic max face-id.
part of CURA-6745
This commit is contained in:
parent
503a24f7a1
commit
70332978fd
2 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ class SolidView(View):
|
|||
|
||||
# Color the currently selected face-id.
|
||||
face = Selection.getSelectedFace()
|
||||
uniforms["selected_face"] = Selection.endFaceSelectionId() if not face or node != face[0] else face[1]
|
||||
uniforms["selected_face"] = (Selection.maxFaceSelectionId() + 1) if not face or node != face[0] else face[1]
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue