Skip to content

Commit

Permalink
Update sector_import.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Simarilius-uk committed Apr 18, 2024
1 parent 73ff831 commit 8e3080a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions i_scene_cp77_gltf/importers/sector_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,7 @@ def importSectors( filepath='', want_collisions=False, am_modding=False, with_ma
loc=(spos[0]+x,spos[1]+y,spos[2]+z)
bpy.ops.mesh.primitive_cube_add(size=1/scale_factor, scale=(ssize['X'],ssize['Y'],ssize['Z']),location=loc)
cube=C.selected_objects[0]
cube.name='NodeDataIndex_'+str(inst['nodeDataIndex'])+'_Actor_'+str(idx)+'_Shape_'+str(s)
par_coll=cube.users_collection[0]
par_coll.objects.unlink(cube)
sector_Collisions_coll.objects.link(cube)
Expand Down

0 comments on commit 8e3080a

Please sign in to comment.