Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <r.burema@ultimaker.com>2019-09-03 16:48:31 +0300
committerRemco Burema <r.burema@ultimaker.com>2019-09-03 16:48:31 +0300
commit70332978fde2883751765569a971a7f6ab68f684 (patch)
tree4aafa1670e9f1646be0a38642d0cdbbeccf8bbe8 /cura/CuraActions.py
parent503a24f7a196262be9078892d7daedd5a444b725 (diff)
Less cryptic max face-id.
part of CURA-6745
Diffstat (limited to 'cura/CuraActions.py')
-rw-r--r--cura/CuraActions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/CuraActions.py b/cura/CuraActions.py
index 9338521003..ad359973c1 100644
--- a/cura/CuraActions.py
+++ b/cura/CuraActions.py
@@ -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)