Assembly: Joint: add support to non ascii characters.

This commit is contained in:
PaddleStroke
2024-10-08 18:17:46 +02:00
committed by Chris Hennes
parent c6c4e8cc25
commit ab4b95a459

View File

@@ -1522,7 +1522,8 @@ class TaskAssemblyCreateJoint(QtCore.QObject):
self.joint = self.assembly.newObject("App::FeaturePython", "Temporary joint")
else:
joint_group = UtilsAssembly.getJointGroup(self.assembly)
self.joint = joint_group.newObject("App::FeaturePython", self.jointName)
self.joint = joint_group.newObject("App::FeaturePython", "Joint")
self.joint.Label = self.jointName
Joint(self.joint, type_index)
ViewProviderJoint(self.joint.ViewObject)