Skip to content

Commit b35c816

Browse files
authored
Merge pull request #17 from OmooLab/feature/dev
fix: cannot convert to mesh in chinese language blender
2 parents e0c46e9 + 0e2d6fe commit b35c816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioxelnodes/operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def execute(self, context):
196196
mesh.name = f"Mesh_{container.name}"
197197

198198
bpy.ops.object.constraint_add(type='COPY_TRANSFORMS')
199-
mesh.constraints["Copy Transforms"].target = container
199+
mesh.constraints[0].target = container
200200

201201
bpy.ops.node.new_geometry_nodes_modifier()
202202
modifier = mesh.modifiers[0]

0 commit comments

Comments
 (0)