mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-01 23:01:10 -07: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
|
|
@ -85,7 +85,7 @@ class CuraActions(QObject):
|
|||
|
||||
original_node, face_id = selected_face
|
||||
meshdata = original_node.getMeshDataTransformed()
|
||||
if not meshdata or face_id < 0 or face_id > Selection.endFaceSelectionId():
|
||||
if not meshdata or face_id < 0 or face_id > Selection.maxFaceSelectionId():
|
||||
return
|
||||
|
||||
rotation_point, face_normal = meshdata.getFacePlane(face_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue