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:
Remco Burema 2019-09-10 12:37:59 +02:00
parent c7bae1e8fc
commit e5a690e605
4 changed files with 18 additions and 6 deletions

View file

@ -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