Regression with Crease Attribute #101373

Closed
opened 2022-09-26 09:01:57 +02:00 by Steffen Dünner · 5 comments

System Information
Operating system: Linux-5.15.0-48-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.65.01

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-26 04:23, hash: 34477bbfcd
Worked: All 3.4 before https://developer.blender.org/rBa8a454287a27d408668f8adc6fe1b3aa988de1ac

Short description of error
I have a scene that showed broken geometry since a few days. I could find the commit that caused the problem

a8a454287a - Mesh: Move edge crease out of MEdge

The problem is that in this scene I used the "crease" edge attribute to selectively isolate the edges of a simple geometry and to mesh them. Crease is the only edge attribute that I can easily assign in edit mode and that I can also access in Geometry Nodes. I know that crease isn't meant for this purpose but it worked like a charm before.

Exact steps for others to reproduce the error

  • Download and open attached blend file
    BUG_Crease_v01.blend
  • It contains this geometry
    image.png
    Basically a subdivided cube with different crease values assigned to different edges
  • It has a Geometry Nodes Modifier that does the same thing 3 times:
    First the points are pushed outwards along their face normals to some amount, then the edge's crease value is compared to a specific value and depending on that all edges not matching this value are being deleted. The edges are converted to curves, different curve radii get assigned and finally all gets joined and meshed.
    The push and delete operation gets repeated 3 times with different crease values.
  • In Blender versions before a8a454287a the scene looked like it should:
    image.png
  • In master versions after this commit geometry is missing
    image.png
  • Funny enough if I remove the "Set Position" parts where the geometry gets pushed outwards, the selection and deletion by crease value keeps working. But it looks like the "Set Position" gets rid of the crease attribute.
    2022-09-26 08-59-38.mp4
  • I can work around this regression by assigning another GN Modifier before this one that does simply read the crease attribute and writes it to another attribute like "crease_new" and use this attribute afterwards.
  • All of this worked without a hitch before the commit mentioned above.
**System Information** Operating system: Linux-5.15.0-48-generic-x86_64-with-glibc2.35 64 Bits Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.65.01 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-26 04:23, hash: `34477bbfcd` Worked: All 3.4 before https://developer.blender.org/rBa8a454287a27d408668f8adc6fe1b3aa988de1ac **Short description of error** I have a scene that showed broken geometry since a few days. I could find the commit that caused the problem a8a454287a27 - Mesh: Move edge crease out of MEdge The problem is that in this scene I used the "crease" edge attribute to selectively isolate the edges of a simple geometry and to mesh them. Crease is the only edge attribute that I can easily assign in edit mode and that I can also access in Geometry Nodes. I know that crease isn't meant for this purpose but it worked like a charm before. **Exact steps for others to reproduce the error** - Download and open attached blend file [BUG_Crease_v01.blend](https://archive.blender.org/developer/F13574166/BUG_Crease_v01.blend) - It contains this geometry ![image.png](https://archive.blender.org/developer/F13574170/image.png) Basically a subdivided cube with different crease values assigned to different edges - It has a Geometry Nodes Modifier that does the same thing 3 times: First the points are pushed outwards along their face normals to some amount, then the edge's crease value is compared to a specific value and depending on that all edges not matching this value are being deleted. The edges are converted to curves, different curve radii get assigned and finally all gets joined and meshed. The push and delete operation gets repeated 3 times with different crease values. - In Blender versions before a8a454287a27 the scene looked like it should: ![image.png](https://archive.blender.org/developer/F13574200/image.png) - In master versions after this commit geometry is missing ![image.png](https://archive.blender.org/developer/F13574206/image.png) - Funny enough if I remove the "Set Position" parts where the geometry gets pushed outwards, the selection and deletion by crease value keeps working. But it looks like the "Set Position" gets rid of the crease attribute. [2022-09-26 08-59-38.mp4](https://archive.blender.org/developer/F13574221/2022-09-26_08-59-38.mp4) - I can work around this regression by assigning another GN Modifier before this one that does simply read the crease attribute and writes it to another attribute like "crease_new" and use this attribute afterwards. - All of this worked without a hitch before the commit mentioned above.

Added subscriber: @SteffenD

Added subscriber: @SteffenD

This issue was referenced by 57ea827bfb

This issue was referenced by 57ea827bfb28eb697b74dbc606facbc133e10fab
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Hans Goudey self-assigned this 2022-09-26 22:43:04 +02:00
Member

Thanks for reporting!

Thanks for reporting!

Thanks for fixing this so quickly!

Thanks for fixing this so quickly!
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#101373
No description provided.