Skip to content

Commit 8e5e1d3

Browse files
committed
Set mesh_name for worldspawn
so it doesn't get rotated or scaled if entity has rotation or scale keys.
1 parent 0bccae7 commit 8e5e1d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

import_bsp/Entities.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def ImportEntitiesText(entities_string, import_settings, bsp = None, only_lights
124124

125125
if n_ent == 0 and not only_lights:
126126
me = bpy.data.meshes["*0"]
127+
mesh_name = "*0"
127128
ob = bpy.data.objects.new("Entity " + (str(n_ent).zfill(4)), me)
128129
obj_list.append(ob)
129130
else:

0 commit comments

Comments
 (0)