Questions tagged [depsgraph]
The depsgraph tag has no usage guidance.
12
questions
0
votes
0
answers
14
views
Assign Vertex Group from Evaluated Vertices
I am writing an operator that allows to pick a surface in the 3D view and assign a vertex group to the hit surface. It's working perfectly fine for objects where the evaluated vertex count matches the ...
1
vote
0
answers
33
views
How can I avoid Depsgraph rebuild times?
I have two objects (in collections) in the scene and I want to render only one of them programmatically (from Python). When I measure the rendering time, there is always overhead of Depsgraph build ...
0
votes
0
answers
46
views
Handling changes in the depsgraph crashes Blender
I am trying to watch changes in the depsgraph so that ever time I assign a material to a mesh, all its sibling meshes (those that share a parent) are assigned the same color.
The way I do that is in ...
0
votes
0
answers
15
views
Get value of a keyframed pose bone property in a frame_post handler
As the pose bones don't have an "evaluated_get" method, I'm not sure how to get the correct value of the property in the frame_post handler. I've tried evaluating the armature itself and ...
0
votes
1
answer
496
views
Expression based Drivers are not updating in the UI
Here is a Driver. It is a Custom Property on an Object that is driving a value in a Shader Node. It was made by right clicking on the property and Copying as Driver. It uses a Variable. If I change ...
1
vote
1
answer
251
views
How to prevent depsgraph update triggers
Any python or custom properties will send update signals to blender depsgraph, even when it is not necessary. This can be problematic when the properties are attached to an object with an intensive ...
1
vote
0
answers
83
views
How to determine what value has changed on scene update
I'm considering writing a Take Manager addon so that Blender can have the same functionality as Houdini's Take system (where you can create multiple "takes" that inherit properties from the ...
-1
votes
1
answer
474
views
Despgraph update handler is never called?
I'm registering a depsgraph update handler but it is never called. Am I doing something wrong? What causes the handler to trigger?
...
4
votes
1
answer
443
views
How to update world transformation matrices without calling a scene update
I have a Python script that's recursively parenting children objects to parents. I can use bpy.ops.object.parent_set(), which produces the desired outcome but is too slow for what I'm doing.
Another ...
2
votes
0
answers
134
views
Traverse depsgraph in Python?
Context().evaluated_depsgraph_get() returns a Depsgraph() object.
.debug_stats() and ...
2
votes
1
answer
849
views
Visualize depsgraph?
Is there a convenient way to visualize the dependency graph of a Blender file?
If so, does it provide granularity showing where and how the dependency occurs?
If you create a dependency cycle, then ...
5
votes
1
answer
122
views
Is it possible to listen for object visibility change in python?
Is it possible to listen to changes in object visibility via a Python add-on in Blender?
Being a beginner, I only know of listing all objects and doing ...