Regression: Smart UV project stopped aligning islands vertically #110724

Closed
opened 2023-08-02 17:39:06 +02:00 by Adam Preisler · 7 comments

System Information
Operating system: Win11
Graphics card: 4090 RTX

Blender Version
Broken: (3.6.1)
Worked: (3.5)
Caused by 4b4babae8b

Short description of error
In the past it was possible to easily unwrap selection of many many many many many elements and they will be aligned vertically based on which direction they are longer in. This is super useful for anisotropic materials like wood for example or even brushed steel because it will usually be brushed in the longer direction.

Exact steps for others to reproduce the error
Open the attached .blend file in 3.3.5 and use Smart UV Project in Edit Mode
Then open the same file in 3.6.1 and try Smart UV Project again

3.3.5 3.6.1
image image
**System Information** Operating system: Win11 Graphics card: 4090 RTX **Blender Version** Broken: (3.6.1) Worked: (3.5) Caused by 4b4babae8b495936ed8c9c00b7bf1486d2107107 **Short description of error** In the past it was possible to easily unwrap selection of many many many many many elements and they will be aligned vertically based on which direction they are longer in. This is super useful for anisotropic materials like wood for example or even brushed steel because it will usually be brushed in the longer direction. **Exact steps for others to reproduce the error** Open the attached .blend file in 3.3.5 and use Smart UV Project in Edit Mode Then open the same file in 3.6.1 and try Smart UV Project again | 3.3.5 | 3.6.1 | | -------- | -------- | | ![image](/attachments/e25fcd3f-93a6-4e98-aec3-862dcf76cfb9) | ![image](/attachments/4590c49b-3c8d-43c5-af5f-a486996b9382) |
Adam Preisler added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-08-02 17:39:07 +02:00
Member

Thanks for the report. I can confirm (broke between 3.5-3.6).
@Chris_Blackbourn , can you check? (Any idea which of your commit has affected this? Otherwise I'll bisect)

Thanks for the report. I can confirm (broke between 3.5-3.6). @Chris_Blackbourn , can you check? (Any idea which of your commit has affected this? Otherwise I'll bisect)

I think this is a duplicate of #109906
(Although, with a different operator, same underlying cause)

If you're hunting for the exact change, the class which has the changed behavior is UVMinimumEnclosingSquareFinder
See also rotate_inside_square.
There might be different times in the history when it's active/inactive...

I think this is a duplicate of https://projects.blender.org/blender/blender/issues/109906 (Although, with a different operator, same underlying cause) If you're hunting for the exact change, the class which has the changed behavior is `UVMinimumEnclosingSquareFinder` See also `rotate_inside_square`. There might be different times in the history when it's active/inactive...

BTW, most likely same fix, after smart unwrap, just use "UV > Align Rotation > Auto" and the results will probably be better than with 3.5

BTW, most likely same fix, after smart unwrap, just use "UV > Align Rotation > Auto" and the results will probably be better than with 3.5
Member

Thanks, will do :)

Thanks, will do :)
Member

Caused by 4b4babae8b

(both bugs introduced by different commits)

Caused by 4b4babae8b495936ed8c9c00b7bf1486d2107107 (both bugs introduced by different commits)
Pratik Borhade changed title from Smart UV project stopped aligning islands vertically to Regression: Smart UV project stopped aligning islands vertically 2023-08-04 08:27:09 +02:00
Pratik Borhade added this to the 3.6 LTS milestone 2023-08-04 08:27:47 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-09-14 19:06:00 +02:00
Author

Blender Version: image

The issue is still there, I always have to select the elements that were mapped to the bottom right are rotate them by 90 degrees so that everything is aligned properly.

The Align Rotation operator doesn't give better results with any settings I tried.
image

Sorry if I reopened this issue wrongly.

Blender Version: ![image](/attachments/7a0fd2bf-7ea7-4481-a40a-239e650bb5f2) The issue is still there, I always have to select the elements that were mapped to the bottom right are rotate them by 90 degrees so that everything is aligned properly. The Align Rotation operator doesn't give better results with any settings I tried. ![image](/attachments/429908d7-1002-411e-a1a0-255f3c77061b) Sorry if I reopened this issue wrongly.
Blender Bot added
Status
Needs Triage
and removed
Status
Resolved
labels 2023-12-18 12:14:12 +01:00
Member

@AdamPreisler hi, can you open a new report with necessary details?

@AdamPreisler hi, can you open a new report with necessary details?
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-12-19 10:06:59 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#110724
No description provided.