Drivers don't read Cycles Material nodes #53991

Closed
opened 2018-02-03 09:57:35 +01:00 by MWire · 9 comments

System Information
Windows 8.1, nvidia Geforce 920M

Blender Version
Broken: (2.79, 5bd8ac9)

Short description of error
Drivers don't work when the input is from the cycles material node editor

Exact steps for others to reproduce the error
Add a cycles material, create any driver that takes input from any node variable within that material.
Nodebug.blend
Attached example is attempting to control ScaleX using the variable input node.

**System Information** Windows 8.1, nvidia Geforce 920M **Blender Version** Broken: (2.79, 5bd8ac9) **Short description of error** Drivers don't work when the input is from the cycles material node editor **Exact steps for others to reproduce the error** Add a cycles material, create any driver that takes input from any node variable within that material. [Nodebug.blend](https://archive.blender.org/developer/F2102037/Nodebug.blend) Attached example is attempting to control ScaleX using the variable input node.
Author

Added subscriber: @MWire

Added subscriber: @MWire

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2018-02-05 14:44:24 +01:00

Material owns it's node tree, and the only "standalone" node trees you will see will come from node groups. So for your case you need to read from material datablock, using it's node_tree in RNA path.

Thanks for the report, but don't see bug here.

Material owns it's node tree, and the only "standalone" node trees you will see will come from node groups. So for your case you need to read from material datablock, using it's `node_tree` in RNA path. Thanks for the report, but don't see bug here.
Author

It seems like it is another bug, Blender doesn't save the path I specified here using "Add driver from target"
Image 308.png

It seems like it is another bug, Blender doesn't save the path I specified here using "Add driver from target" ![Image 308.png](https://archive.blender.org/developer/F2131623/Image_308.png)

if that's another bug make a new report, with all the steps and demo file needed to reproduce it.

if that's another bug make a new report, with all the steps and demo file needed to reproduce it.
Author

Alright, but what is the full correct RNA path that I should use to make the "Driver source" directly control "ScaleX"?

Alright, but what is the full correct RNA path that I should use to make the "Driver source" directly control "ScaleX"?

Here is a file for you: Nodebug_working.blend

Some notes:

  • This setup only works with new dependency graph.
  • It is possible that we are still missing some depsgraph updates on changes, so if something doesn't work for you, try saving and reload file and see if that fixes the issue. If that solves the issue, make a report about depsgraph missing updates.
Here is a file for you: [Nodebug_working.blend](https://archive.blender.org/developer/F2131742/Nodebug_working.blend) Some notes: - This setup only works with new dependency graph. - It is possible that we are still missing some depsgraph updates on changes, so if something doesn't work for you, try saving and reload file and see if that fixes the issue. If that solves the issue, make a report about depsgraph missing updates.
Author

Looks like that's the issue. Alright, I'll make a report then. Thanks.

Looks like that's the issue. Alright, I'll make a report then. Thanks.
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#53991
No description provided.