Maniphest T54002

Depsgraph does not update
Closed, Archived

Assigned To
MWire (MWire)
Authored By
MWire (MWire)
Feb 5 2018, 5:31 PM
Tags
  • BF Blender
Subscribers
Matheus Kirchesch (Kirchesch)
MWire (MWire)
Sergey Sharybin (sergey)

Description

System Information
Windows 8.1, nvidia Geforce 920M

Blender Version
Broken: (2.79, 5bd8ac9)

Short description of error
This is a follow-up for bug #T53991
The driver for "ScaleX" does not update when "Driver Source" is altered
As stated by Sergey, it has something to do with "Depsgraph missing updates"

Exact steps for others to reproduce the error
Add a cycles material, create a driver in the node editor that takes input from any node variable within that material that uses the new dependency graph.


Attached example is attempting to control ScaleX using the variable input node, using the dependency graph.

Event Timeline

MWire (MWire) created this task.Feb 5 2018, 5:31 PM
Sergey Sharybin (sergey) lowered the priority of this task from 90 to 30.Feb 5 2018, 5:51 PM
Sergey Sharybin (sergey) added a subscriber: Sergey Sharybin (sergey).

You have to run Blender with new dependency graph (--enable-new-depsgraph) command line argument. With new dependency graph the attached file works fine to me.

This is not possible to make this file to work in old dependency graph. In fact, we got rid of old dependency graph in blender2.8 branch already.

What i meant by "missing depsgraph updates" was more like "missing relations in dependency graph update". What that means in practice, is that due to more granular nature of new dependency graph, more edits in interface requires relations to be updated. Rarely, but this is still happening. In order to catch this class of errors you need to save file and re-load it. If that makes tihngs to work, this will indicate that some edit did not tell depsgraph that relations needs to be updated.

So, how do i make this file to fail with new dependency graph?

MWire (MWire) changed the task status from Unknown Status to Unknown Status.Feb 7 2018, 4:12 PM
MWire (MWire) claimed this task.

I didn't know that, I assumed that it was already enabled by default.

Matheus Kirchesch (Kirchesch) added a subscriber: Matheus Kirchesch (Kirchesch).Dec 12 2020, 2:59 PM

Is the new Despgraph default in Blender 2.9? because i have to update 3 time to update all my drivers

Sergey Sharybin (sergey) added a comment.Jan 8 2021, 4:18 PM

@Matheus Kirchesch (Kirchesch), the, what used to be called, "new" depsgraph is the only one in Blender since 2.80. If you have some issues with drivers, please submit a new report, with all the details provided.

Matheus Kirchesch (Kirchesch) added a comment.Jan 8 2021, 4:22 PM
In T54002#1089759, @Sergey Sharybin (sergey) wrote:

@Matheus Kirchesch (Kirchesch), the, what used to be called, "new" depsgraph is the only one in Blender since 2.80. If you have some issues with drivers, please submit a new report, with all the details provided.

Yes, its a bug in Blender where you can't drive a value from a bone with another value from the same bone
I had to re-create the bone and the necessary hierarchy, and then copy the values from the re-created version

Thanks for the info anyway, i will submit it, even though its probably a known issue