Skip to content

Commit

Permalink
tolerate space in mk64 vertex (#441)
Browse files Browse the repository at this point in the history
* tolerate space in mk64 vertex

* Update mk64_model_classes.py

* fix regex catching

* little tweak

* Update mk64_model_classes.py

Co-authored-by: Lila <lilaa3public@gmail.com>

---------

Co-authored-by: Lila <lilaa3public@gmail.com>
  • Loading branch information
coco875 and Lilaa3 authored Aug 31, 2024
1 parent 0eed468 commit ca785f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fast64_internal/mk64/mk64_model_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ def course_vertex_format_patterns():
return (
# decomp format
r"\{\s*"
r"\{+([^,\}]*),([^,\}]*),([^,\}]*)\}\s*,\s*"
r"\{[\{\s]*([^,\}]*),([^,\}]*),([^,\}]*)\}\s*,\s*"
r"\{([^,\}]*),([^,\}]*)\}\s*,\s*"
r"\{MACRO_COLOR_FLAG\(([^,\}]*),([^,\}]*),([^,\}]*),([^,\}])*\),([^,\}]*)\}\s*"
r"\{\s*MACRO_COLOR_FLAG\(([^,\}]*),([^,\}]*),([^,\}]*),([^,\}])*\),([^,\}]*)\}\s*"
r"\}"
)

Expand Down

0 comments on commit ca785f3

Please sign in to comment.