mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:59:00 +08:00
Rename to getEndFaceSelectionId()
CURA-6745
This commit is contained in:
parent
503a24f7a1
commit
44db4216bc
@ -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.getEndFaceSelectionId():
|
||||
return
|
||||
|
||||
rotation_point, face_normal = meshdata.getFacePlane(face_id)
|
||||
|
@ -142,7 +142,7 @@ class SolidView(View):
|
||||
|
||||
# Color the currently selected face-id.
|
||||
face = Selection.getSelectedFace()
|
||||
uniforms["selected_face"] = Selection.endFaceSelectionId() if not face or node != face[0] else face[1]
|
||||
uniforms["selected_face"] = Selection.getEndFaceSelectionId() if not face or node != face[0] else face[1]
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user