mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Wrap up 'lay flat by face' feature for 4.3-BETA.
Icon thanks to Yi-An Lai. part of CURA-6754
This commit is contained in:
parent
c7bae1e8fc
commit
e5a690e605
4 changed files with 18 additions and 6 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