Regression: Geometry Nodes - Setting curve_type, nurbs_order and knots_mode through Named Attributes is broken in latest 3.2/3.3 builds #98522

Closed
opened 2022-05-31 20:42:46 +02:00 by Crowe · 9 comments

System Information
Operating system: Windows-8.1 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 4.5.0 NVIDIA 466.47

Blender Version
Broken: 3.3.0 Alpha, commit date: 2022-05-30 17:30, branch: master, hash: ca59391704 &
3.2.0 Beta, commit date: 2022-05-29 19:19, branch: master, hash: 32bf6455a0
Worked: 3.2.0 Alpha, commit date: 2022-03-22 22:06, branch: master, hash: 5c27391b0f

Short description of error
Curves have some named attributes that don't always have dedicated nodes like "Radius" but are still available to Geometry Nodes, being visible in the Spreadsheets and everything. Some of them are: knots_mode, curve_type, nurbs_order, and nurbs_weight.

In 3.2 alpha it was possible to set them through GN (not sure about the latest version it worked). In most recent builds curve_type and knots_mode are broken. (Edit: I just found out nurbs_order is also broken)

This is the expected result of setting each one of the three attributes at a time:
bug_3.3_curveAttr_working.jpg

Curve 1 is the original one for comparison.
Curve 2 had the nurbs_weight of control point 2 altered, included as an example of a "nodeless" named attribute that fully works.
Curve 3, knots_mode set to its original value.
Curve 4, curve_type set to its original value.

With the important note that even in 3.2 setting either curve_type or knots_mode makes them disappear from the spreadhseet, complicating debugging. Unlike them, nurbs_weight updates fine.
bug_3.3_curveAttr_spreadsheet_missing_detail.jpg

This is what happens in 3.3:
bug_3.3_curveAttr_broken.jpg

The bottom curves shouldn't change, just like in 3.2, because they're being set to their original values.

Exact steps for others to reproduce the error

  1. Add a Store Named Attribute node to a NURBS curve, setting the Name to either knots_mode, curve_type, or nurbs_order and then typing the original value in Value.
**System Information** Operating system: Windows-8.1 64 Bits Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 4.5.0 NVIDIA 466.47 **Blender Version** Broken: 3.3.0 Alpha, commit date: 2022-05-30 17:30, branch: master, hash: ca5939170461 & 3.2.0 Beta, commit date: 2022-05-29 19:19, branch: master, hash: 32bf6455a019 Worked: 3.2.0 Alpha, commit date: 2022-03-22 22:06, branch: master, hash: 5c27391b0f8c **Short description of error** Curves have some named attributes that don't always have dedicated nodes like "Radius" but are still available to Geometry Nodes, being visible in the Spreadsheets and everything. Some of them are: `knots_mode`, `curve_type`, `nurbs_order`, and `nurbs_weight`. In 3.2 alpha it was possible to set them through GN (not sure about the latest version it worked). In most recent builds **curve_type** and **knots_mode** are broken. (*Edit*: I just found out **nurbs_order** is also broken) This is the **expected result** of setting each one of the three attributes at a time: ![bug_3.3_curveAttr_working.jpg](https://archive.blender.org/developer/F13125252/bug_3.3_curveAttr_working.jpg) Curve 1 is the original one for comparison. Curve 2 had the `nurbs_weight` of control point 2 altered, included as an example of a "nodeless" named attribute that fully works. Curve 3, `knots_mode` set to its original value. Curve 4, `curve_type` set to its original value. With the important note that even in 3.2 setting either `curve_type` or `knots_mode` makes them disappear from the spreadhseet, complicating debugging. Unlike them, `nurbs_weight` updates fine. ![bug_3.3_curveAttr_spreadsheet_missing_detail.jpg](https://archive.blender.org/developer/F13125256/bug_3.3_curveAttr_spreadsheet_missing_detail.jpg) This is what happens in 3.3: ![bug_3.3_curveAttr_broken.jpg](https://archive.blender.org/developer/F13125254/bug_3.3_curveAttr_broken.jpg) The bottom curves shouldn't change, just like in 3.2, because they're being set to their original values. **Exact steps for others to reproduce the error** 1. Add a **Store Named Attribute** node to a NURBS curve, setting the Name to either `knots_mode`, `curve_type`, or `nurbs_order` and then typing the original value in Value.
Author

Added subscriber: @crowe

Added subscriber: @crowe
Crowe changed title from Regression: Geometry Nodes - Setting curve_type and knots_mode through Named Attributes is broken in Blender 3.3 to Regression: Geometry Nodes - Setting curve_type, nurbs_order and knots_mode through Named Attributes is broken in latest 3.2/3.3 builds 2022-06-01 07:05:39 +02:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Member

I can see that the behavior changed, but was setting those attributes actually working? (as in: setting it to a different value than the original? seems like this was also not working prior...)
Will bisect when this changed, maybe this gives us a hint already

I can see that the behavior changed, but was setting those attributes actually working? (as in: setting it to a different value than the original? seems like this was also not working prior...) Will bisect when this changed, maybe this gives us a hint already
Member

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'
Member

Sorry, meant to put this on Needs Information from User because of

In #98522#1367421, @lichtwerk wrote:
was setting those attributes actually working? (as in: setting it to a different value than the original? seems like this was also not working prior...)

can you provide your example .blend file where this was working in 5c27391b0f?

Sorry, meant to put this on `Needs Information from User` because of > In #98522#1367421, @lichtwerk wrote: > was setting those attributes actually working? (as in: setting it to a different value than the original? seems like this was also not working prior...) can you provide your example .blend file where this was working in 5c27391b0f?
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Thanks for the report. Unfortunately this isn't really expected to work at this point. I'll close this in favor of a TODO task.

Thanks for the report. Unfortunately this isn't really expected to work at this point. I'll close this in favor of a TODO task.
Member

Closed as duplicate of #98533

Closed as duplicate of #98533
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#98522
No description provided.