NodeGroup Drivers Move to Wrong Property After Change #120724

Closed
opened 2024-04-17 00:22:38 +02:00 by Kevin C. Burke · 2 comments
Contributor

System Information
Operating system: macOS-14.4-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M1 Max 1.2

Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: 40a5e739e270
Worked: N/A

Short description of error
When deleting a property that changes a NodeGroup's properties' indices, drivers get reassigned to the incorrect properties

Exact steps for others to reproduce the error

  1. Create a NodeGroup in the Shader Editor with three input properties.
  2. Create a driver on the second Property
  3. Delete the first property
  4. The driver will get reassigned to the new second property (it's happening by index, I'm assuming?)

In this video, the driver is on the second NodeGroup's Input property "Brightness". When a property previous to "Brightness" is removed, the driver is now on the next property "Contrast":
Screen Recording

I have attached an example .blend file.

Before

**System Information** Operating system: macOS-14.4-arm64-arm-64bit 64 Bits Graphics card: Metal API Apple M1 Max 1.2 **Blender Version** Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: `40a5e739e270` Worked: N/A **Short description of error** When deleting a property that changes a NodeGroup's properties' indices, drivers get reassigned to the incorrect properties **Exact steps for others to reproduce the error** 1. Create a NodeGroup in the Shader Editor with three input properties. 2. Create a driver on the second Property 2. Delete the first property 3. The driver will get reassigned to the new second property (it's happening by index, I'm assuming?) In this video, the driver is on the second NodeGroup's Input property "Brightness". When a property previous to "Brightness" is removed, the driver is now on the next property "Contrast": **[Screen Recording](https://youtu.be/o4JQHvQNJZw)** I have attached an example .blend file. ![Before](/attachments/f4dc2aa4-6c34-4c6c-8684-acfd2c80e5ba)
Kevin C. Burke added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2024-04-17 00:22:39 +02:00
Member

Yes, the path of that property is accessed with index.

Does this pose a significant usability problem on your side? Since this is how the property is recorded in the driver system, so not likely we could change this, and manually updating all the drivers when socket changed in a custom group will also involve other systems like the animation. Usually node groups are static throughout the usage, so you might want to expect this behaviour until the design of your node group has solidified.

Yes, the path of that property is accessed with index. Does this pose a significant usability problem on your side? Since this is how the property is recorded in the driver system, so not likely we could change this, and manually updating all the drivers when socket changed in a custom group will also involve other systems like the animation. Usually node groups are static throughout the usage, so you might want to expect this behaviour until the design of your node group has solidified.
Member

Same as #101339, will close as a duplicate.

Please subscribe in #101339 if you want further updates.

Same as #101339, will close as a duplicate. Please subscribe in #101339 if you want further updates.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-04-17 12:34:24 +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
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#120724
No description provided.