Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fast64_internal/z64/exporter/decomp_edit/scene_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def from_line(original_line: str):

return SceneTableEntry(*params)
else:
raise PluginError("ERROR: This line is not a scene table entry!")
raise PluginError("ERROR: This line is not a scene table entry! " + repr(original_line))

@staticmethod
def from_scene(scene_name: str, draw_config: str, title_card_name: str):
Expand Down Expand Up @@ -119,8 +119,8 @@ def new(export_path: str):
header = data[: header_end_index + 1]

lines = data[header_end_index + 1 :].split("\n")
lines = list(filter(None, lines)) # removes empty lines
lines = [line.strip() for line in lines]
lines = list(filter(None, lines)) # removes empty lines

sections: list[SceneTableSection] = []
current_section: Optional[SceneTableSection] = None
Expand Down