Repository navigation
Fix new mesh faces getting a zero-size UV - #3830
Merged
JannisX11 merged 2 commits intoOct 23, 2026
Merged
Conversation
Create Face collects the faces that need an automatic UV in faces_to_autouv, but the UVEditor.setAutoSize call that used it was removed together with the extrude/inset UV changes in 0b5449d, so a face created from vertices without a reference face had all its UV points at 0,0. Restore the call. Fixes JannisX11#3824
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3824.
Since 5.2.0, a face created with Create Face (Shift+F) from vertices with no reference face gets a zero-size UV: all of its UV points sit at 0,0.
create_facestill collects those faces infaces_to_autouv, but theUVEditor.setAutoSize(null, true, faces_to_autouv)call that used the list was removed in 0b5449d ("Use spatial interval as default for extrude/solidify; fix inset UV computation"). That commit replaced the auto-UV for extrude and inset with its own UV projection, but nothing replaced it for Create Face, so the list is now built and never used. This PR restores the call.Testing (web build,
npm run serve, Generic model). I removed one face of a mesh cube, selected its 4 vertices and rancreate_face:patch(before)[0,0]for all 4 points[0,0] [4,0] [0,4] [4,4]The base branch is
patch, per the contribution notes for minor fixes.