Assembly: Joint: add support to non ascii characters.

This commit is contained in:
PaddleStroke
2024-10-10 20:37:09 -05:00
committed by Chris Hennes
parent dcd048e00a
commit bc5b0bb610
+2 -1
View File
@@ -1512,7 +1512,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)