mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Merge pull request #6328 from Ultimaker/fix_select_face
CURA-6754 / CURA-6761 Fix Select Face
This commit is contained in:
commit
cfeefe365d
5 changed files with 18 additions and 39 deletions
|
@ -140,9 +140,9 @@ class SolidView(View):
|
|||
1.0
|
||||
]
|
||||
|
||||
# Color the currently selected face-id.
|
||||
face = Selection.getSelectedFace()
|
||||
uniforms["selected_face"] = (Selection.getMaxFaceSelectionId() + 1) if not face or node != face[0] else face[1]
|
||||
# Color the currently selected face-id. (Disable for now.)
|
||||
#face = Selection.getHoverFace()
|
||||
uniforms["hover_face"] = -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