I'm still a blender beginner, sorry in advance.
I have a python script that registers frame handlers (frame_change_post
) that can update some custom properties of the objects in the scene. I can see these properties being updated when I run the animation, everything is fine so far.
Then, I have a few drivers (on shader nodes) that use these custom properties, i.e. have them as input variables. My problem is that these input variables are not updated: I can see the input values in the drivers editor as the animation runs and they do not change throughout the animation, unlike the actual custom properties. The animation itself visually confirms that the input values never change.
I have other drivers that read custom properties on the same object, but these properties are key-framed. And for those, everything works as expected.
Any help would be greatly appreciated :)
Edit: I saw somewhere that going through a
Value
node could help, except the driver is for the frame offset on an Image Texture node, and it is not an input so I can't plug theValue
in.Edit 2: never mind the value of the
Value
node with appropriate driver is not updated either :(