Skip to content

Commit

Permalink
Fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Garcia committed Dec 8, 2023
1 parent b622efa commit dd4b10e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions io_scene_halo/file_tag/import_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@

from .h1.file_camera_track.process_file import process_file as process_camera_track

def load_file(context, file_path, game_version, game_title, file_version, fix_rotations, empty_markers, report):
version = int(file_version)
def load_file(context, file_path, game_title, fix_rotations, empty_markers, report):
input_stream = open(file_path, "rb")
if tag_format.check_file_size(input_stream) < 64: # Size of the header for all tags
input_stream.close()
Expand Down Expand Up @@ -188,7 +187,7 @@ def load_file(context, file_path, game_version, game_title, file_version, fix_ro
return {'CANCELLED'}

input_stream.close()
build_scene.build_scene(context, ASSET, game_version, game_title, version, fix_rotations, empty_markers, report)
build_scene.build_scene(context, ASSET, "retail", game_title, 0, fix_rotations, empty_markers, report)

return {'FINISHED'}

Expand Down

0 comments on commit dd4b10e

Please sign in to comment.