Skip to content

Reject OBJ UDIM faces spanning tiles - #2102

Draft
Loggableim wants to merge 1 commit into
armory3d:mainfrom
Loggableim:fix/1870-udim-spanning-face
Draft

Reject OBJ UDIM faces spanning tiles#2102
Loggableim wants to merge 1 commit into
armory3d:mainfrom
Loggableim:fix/1870-udim-spanning-face

Conversation

@Loggableim

Copy link
Copy Markdown

Summary

  • detect OBJ faces whose vertices cross UDIM tile boundaries
  • abort UDIM splitting with a localized error instead of continuing with an ambiguous tile
  • add focused regression checks

Root cause

The OBJ splitter assigned each face to its average UV tile. Faces crossing tiles could corrupt split bookkeeping and crash the import.

Validation

  • python paint/tests/test_issue_1870.py
  • Local native project generation is currently blocked by the bundled amake stack-overflow error; GitHub platform builds will provide compile validation.

Fixes #1870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash on import with UDIM when UV vertex is placed across 2 UDIM tiles

1 participant