Regression: stale BMesh UV data #121004

Closed
opened 2024-04-24 07:36:25 +02:00 by Dmitry C. · 5 comments

System: Windows 10
Broken: Blender 3.5.0, 4.1.1, 4.2.0-alpha-main-ce768d43a121
Worked: Blender 3.4.1

Caused by 6c774feba2

Short description of error
The mesh looks visibly different depending on whether or not the bmesh is assigned its own copy before doing a limited dissolve.

Exact steps for others to reproduce the error
Run the script in the attached file with and without uncommenting the line.

Additional info
If the copy is not assigned, limited dissolve behaves as if there was no 'UV' delimiter. If it is assigned, dissolve behaves as expected. In 3.4 and earlier it behaves as expected with or without copying.

As an alternative to assigning a copy, laundering through to_mesh > clear > from_mesh also gives the desired result.

System: Windows 10 Broken: Blender 3.5.0, 4.1.1, 4.2.0-alpha-main-ce768d43a121 Worked: Blender 3.4.1 Caused by 6c774feba2 **Short description of error** The mesh looks visibly different depending on whether or not the bmesh is assigned its own copy before doing a limited dissolve. **Exact steps for others to reproduce the error** Run the script in the attached file with and without uncommenting the line. **Additional info** If the copy is not assigned, limited dissolve behaves as if there was no 'UV' delimiter. If it is assigned, dissolve behaves as expected. In 3.4 and earlier it behaves as expected with or without copying. As an alternative to assigning a copy, laundering through to_mesh > clear > from_mesh also gives the desired result.
Dmitry C. added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-04-24 07:36:26 +02:00
Member

Can confirm, will check

Can confirm, will check
Philipp Oeser added
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-04-24 11:09:57 +02:00
Member

Caused by 6c774feba2
I think I have a fix, will double-check though why exactly this is needed...

Caused by 6c774feba2c9a1eb5834646f597a0f2c63177914 I think I have a fix, will double-check though why exactly this is needed...
Philipp Oeser added the
Module
Modeling
Interest
UV Editing
labels 2024-04-24 12:51:45 +02:00
Philipp Oeser self-assigned this 2024-04-24 13:59:11 +02:00
Philipp Oeser added the
Interest
Python API
label 2024-04-24 13:59:24 +02:00
Author

Seems like the same thing but in bpy.ops: #107620

Seems like the same thing but in bpy.ops: #107620
Member

Fix is up, see !121033

Seems like the same thing but in bpy.ops: #107620

Nope, that is different (and also not working right in 3.4.1)

Fix is up, see !121033 > Seems like the same thing but in bpy.ops: #107620 Nope, that is different (and also not working right in 3.4.1)
Author

Nope, that is different (and also not working right in 3.4.1)

The logic is possibly similar (wrong offsets to data), as clearing custom normals seem to fix it for the other issue.

> Nope, that is different (and also not working right in 3.4.1) The logic is possibly similar (wrong offsets to data), as clearing custom normals seem to fix it for the other issue.
Hans Goudey added
Type
Bug
and removed
Type
Report
labels 2024-04-24 17:23:51 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-04-26 07:49:31 +02: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
2 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#121004
No description provided.