Skip to content

Commit

Permalink
Update _blender_scene_to_ursina.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntRanch authored Oct 29, 2023
1 parent 2c77ce2 commit b2bdcb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ursina/scripts/_blender_scene_to_ursina.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
code += f'''
'{mesh.name}' : Mesh(
vertices={str(verts).replace(' ', '')},
normals={str(normals).replace(' ', '')},
normals={repr(normals).replace(' ', '').removeprefix('array(').removesuffix(')')},
colors={str(vertex_colors).replace(' ', '')},
uvs={str(uvs).replace(' ', '')},
),
Expand Down

0 comments on commit b2bdcb1

Please sign in to comment.