Page MenuHome

Dependency GraphProject
ActivePublic

Members (4)

Details

Description

System to evaluate and update objects for editing and animation.

Module Owners: @Sergey Sharybin (sergey), @Brecht Van Lommel (brecht)

Recent Activity

Today

Jacques Lucke (JacquesLucke) updated subscribers of T73563: closest_point_on_mesh() freezes Blender when called from a driver.

This is a deadlock for the same reason as in T73516. The closest_point_on_mesh Python function requires an evaluated depsgraph, so you cannot use it in a driver which is evaluated during evaluation.
The deadlock happens because in your backtrace the main thead has the Python GIL and the other thread waits for it. Furthermore the main thread seems to be waiting on the other thread as well.

Tue, Feb 18, 3:11 PM · Dependency Graph, Python, BF Blender

Yesterday

Sybren A. Stüvel (sybren) moved T68319: Custom property in workspace "Layout" can not be added to driver from Backlog to Known Issues on the Animation & Rigging board.
Mon, Feb 17, 6:03 PM · Animation & Rigging, Dependency Graph, BF Blender
Sybren A. Stüvel (sybren) moved T60366: Creating a new image texture in shader editor does not appear among the texture slots from Backlog to Bugs on the Animation & Rigging board.
Mon, Feb 17, 5:56 PM · Dependency Graph, Animation & Rigging, Nodes & Physics, BF Blender
Sybren A. Stüvel (sybren) moved T65148: Cant drive ob1 shape key, by obj2 shape key, if modifier is added to obj2 from Backlog to Bugs on the Animation & Rigging board.
Mon, Feb 17, 5:53 PM · Dependency Graph, Animation & Rigging, BF Blender
Sybren A. Stüvel (sybren) moved T73254: Drivers with the object.dimension variable are not updated from Backlog to Bugs on the Animation & Rigging board.
Mon, Feb 17, 5:48 PM · Dependency Graph, Animation & Rigging, BF Blender
Sybren A. Stüvel (sybren) moved T73429: Approach Faster Animation Playback from TODOs to Design on the Animation & Rigging board.
Mon, Feb 17, 5:42 PM · Dependency Graph, GPU / Viewport, Animation & Rigging
Sybren A. Stüvel (sybren) moved T73429: Approach Faster Animation Playback from Backlog to TODOs on the Animation & Rigging board.
Mon, Feb 17, 10:35 AM · Dependency Graph, GPU / Viewport, Animation & Rigging

Sun, Feb 16

Mavis von Ixus (mavixtious) added a comment to T56635: Driver/Keyframes on object visibility do not update viewport.

I can confirm this. I have the same problem. I have an armature with a mesh parented to it and a properties bone. I tried to drive the visibility of the mesh both in viewport and render and switch between hiding and revealing them using that bone. But I can't hide/reveal them both at same time. Some times they do, sometimes they interchange. In other words, the driver of hiding the mesh in viewport alone works fine with the bone, but if you also drive the rendering, then it bugs and doesn't allow you to hide/reveal them above at the same time, only one at a time. Saving and reloading the file doesn't work for me.

Sun, Feb 16, 12:51 PM · Dependency Graph, BF Blender, Animation & Rigging
Ben (the_old_ben) added a comment to T56635: Driver/Keyframes on object visibility do not update viewport.

Can confirm, this persists on 2.82.6 and 2.83 alpha.
I have attached a sample file and a demo video.

Sun, Feb 16, 12:41 PM · Dependency Graph, BF Blender, Animation & Rigging

Fri, Feb 14

Philipp Oeser (lichtwerk) removed a project from T68452: X3D export broken for meshes with modifiers: Tracker Curfew.

Reconfirmed, still an issue

Fri, Feb 14, 12:27 PM · Dependency Graph, Modifiers, Add-ons

Thu, Feb 13

Germano Cavalcante (mano-wii) added a revision to T58044: Issue with rigid body and modifiers dependent on transform: D6834: Fix bad sync between rigid bodies and modifiers.
Thu, Feb 13, 1:50 PM · Nodes & Physics, BF Blender, Dependency Graph, Physics
Germano Cavalcante (mano-wii) added a revision to T68128: Particle Collision failing in blender 2.80: D6834: Fix bad sync between rigid bodies and modifiers.
Thu, Feb 13, 1:50 PM · Dependency Graph, Nodes & Physics, BF Blender
Germano Cavalcante (mano-wii) updated subscribers of T68128: Particle Collision failing in blender 2.80.

After investigating, I realized that depsgraph calls 3 eval functions in a problematic order.

  1. BKE_rigidbody_eval_simulation
  2. BKE_object_eval_local_transform
  3. BKE_object_eval_uber_data
Thu, Feb 13, 12:02 AM · Dependency Graph, Nodes & Physics, BF Blender

Wed, Feb 12

Germano Cavalcante (mano-wii) added a project to T68128: Particle Collision failing in blender 2.80: Dependency Graph.

After investigating a little, I realized that the reason for the failure is the Rigdy Body.
There is something wrong with updating the object's matrices in 2.80.
I suspect it is a lack of sync between the evaluated object and the original.

Wed, Feb 12, 4:38 PM · Dependency Graph, Nodes & Physics, BF Blender
Jacques Lucke (JacquesLucke) changed the status of T69065: Bug on Rigid Body Simulation when an object is parented to another from Needs Developer to Reproduce to Confirmed.

I set this as known issue, because it fixing it might require deeper changes to how Rigid Bodies are implemented in Blender and it is unlikely, that someone is fixing this in the next couple of month.

Wed, Feb 12, 3:25 PM · Dependency Graph, Physics, BF Blender
Campbell Barton (campbellbarton) changed the status of T69796: Deferred deletion of depsgraph copied data from Needs Triage to Confirmed.
Wed, Feb 12, 7:47 AM · Dependency Graph, BF Blender

Tue, Feb 11

Sergey Sharybin (sergey) closed T73675: rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode, causing significant lag. as Resolved by committing rB3dcddf83bfd4: Fix T73675: Leaving exit mode tags all objects for update.
Tue, Feb 11, 2:13 PM · BF Blender (2.82), Modeling, Dependency Graph
Sybren A. Stüvel (sybren) closed T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler. as Invalid.

I have added a note about this in the bpy.app.handlers API documentation.

Tue, Feb 11, 11:02 AM · Dependency Graph, BF Blender
Brecht Van Lommel (brecht) moved T73675: rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode, causing significant lag. from Backlog to bcon4: Show Stoppers on the BF Blender (2.82) board.
Tue, Feb 11, 11:01 AM · BF Blender (2.82), Modeling, Dependency Graph
Sergey Sharybin (sergey) claimed T73675: rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode, causing significant lag..
Tue, Feb 11, 10:09 AM · BF Blender (2.82), Modeling, Dependency Graph

Mon, Feb 10

Evan Wilson (EAW) updated the task description for T73675: rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode, causing significant lag..
Mon, Feb 10, 11:45 PM · BF Blender (2.82), Modeling, Dependency Graph
Evan Wilson (EAW) renamed T73675: rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode, causing significant lag. from rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode. to rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode, causing significant lag..
Mon, Feb 10, 11:43 PM · BF Blender (2.82), Modeling, Dependency Graph
Evan Wilson (EAW) renamed T73675: rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode, causing significant lag. from Performance degradation changing from edit mode to object mode to rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode..
Mon, Feb 10, 11:34 PM · BF Blender (2.82), Modeling, Dependency Graph
Evan Wilson (EAW) added projects to T73675: rB0a95a0852eb1 tags all objects in a scene for depsgraph update when leaving edit mode, causing significant lag.: Dependency Graph, Modeling.

Confirmed to be caused by 0a95a0852eb1 @Clément Foucault (fclem)

Mon, Feb 10, 11:30 PM · BF Blender (2.82), Modeling, Dependency Graph
Richard Antalik (ISS) changed the subtype of T53226: Parented Rigid Body offsets on transform if the parent has been moved from "Report" to "Known Issue".
Mon, Feb 10, 5:08 PM · Dependency Graph, Physics, BF Blender

Fri, Feb 7

Aurel W (aurel) added a comment to T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..

Ok, @Sybren A. Stüvel (sybren) I wasn't aware of that. That fixes the issue for me, both in the minimal provided example and in my rendering setup (at least after testing some example shots).

Fri, Feb 7, 5:10 PM · Dependency Graph, BF Blender
Sybren A. Stüvel (sybren) added a comment to T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..

Try locking the interface (Render → Lock Interface). If this prevents the crash, it's a known threading issue.

Fri, Feb 7, 4:37 PM · Dependency Graph, BF Blender

Thu, Feb 6

Richard Antalik (ISS) added a comment to T73629: Eevee preview nodes with drivers performance drop Round 2.

This issue does not seem to be limited to drivers, even if I key value of value node, performance is the same.

Thu, Feb 6, 9:46 PM · Dependency Graph, BF Blender, Eevee
Richard Antalik (ISS) changed the status of T73629: Eevee preview nodes with drivers performance drop Round 2 from Needs Triage to Confirmed.
Thu, Feb 6, 9:42 PM · Dependency Graph, BF Blender, Eevee
Richard Antalik (ISS) changed the status of T73563: closest_point_on_mesh() freezes Blender when called from a driver from Needs Triage to Confirmed.

Thread:

>	blender.exe!BPY_DECREF(void * pyob_ptr) Line 597	C
 	blender.exe!fcurve_free_driver(FCurve * fcu) Line 2110	C
 	blender.exe!free_fcurve(FCurve * fcu) Line 97	C
 	blender.exe!free_fcurves(ListBase * list) Line 119	C
 	blender.exe!BKE_animdata_free(ID * id, const bool do_id_user) Line 274	C
 	blender.exe!BKE_object_free(Object * ob) Line 513	C
 	blender.exe!DEG::deg_free_copy_on_write_datablock(ID * id_cow) Line 1065	C++
 	blender.exe!DEG::deg_update_copy_on_write_datablock(const DEG::Depsgraph * depsgraph, const DEG::IDNode * id_node) Line 944	C++
 	blender.exe!DEG::deg_evaluate_copy_on_write(Depsgraph * graph, const DEG::IDNode * id_node) Line 1080	C++
 	[Externí kód]	
 	[Vložený rámec] blender.exe!std::_Func_class<void,Depsgraph *>::operator()(Depsgraph * <_Args_0>) Line 969	C++
 	blender.exe!DEG::`anonymous namespace'::evaluate_node(const DEG::`anonymous-namespace'::DepsgraphEvalState * state, DEG::OperationNode * operation_node) Line 117	C++
 	blender.exe!DEG::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata, int thread_id) Line 129	C++
 	blender.exe!task_scheduler_thread_run(void * thread_p) Line 454	C
 	[Externí kód]
Thu, Feb 6, 5:53 PM · Dependency Graph, Python, BF Blender

Wed, Feb 5

Richard Antalik (ISS) merged T71227: Collection contents get hidden when enabling "Local Collections" (if parent col. disabled) into T65095: Hiding a nested collection doesn't immediately update its parent instances in the scene.
Wed, Feb 5, 6:16 PM · Dependency Graph, BF Blender
Adrian Lipiec (Coverop) added a comment to T73429: Approach Faster Animation Playback.

I would like to add that disabling "Auto smooth" from meshes will increase performance while previewing animation in viewport.

Wed, Feb 5, 4:22 PM · Dependency Graph, GPU / Viewport, Animation & Rigging
Aurel W (aurel) updated the task description for T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..
Wed, Feb 5, 12:22 PM · Dependency Graph, BF Blender
Aurel W (aurel) added a comment to T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..

So after playing around with this a little bit more, I get all sorts of strange behavior.

Wed, Feb 5, 11:57 AM · Dependency Graph, BF Blender
Aurel W (aurel) renamed T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler. from Crash on Rendering with Linked Scenes to Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..
Wed, Feb 5, 11:42 AM · Dependency Graph, BF Blender

Tue, Feb 4

Aurel W (aurel) added a comment to T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..

@Brecht Van Lommel (brecht) the operators from handlers was something I expected myself, but I get also segfaults without any operator involved.

Tue, Feb 4, 7:07 PM · Dependency Graph, BF Blender
Brecht Van Lommel (brecht) added a comment to T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..

Does it happen also without calling operators from the handler? It wouldn't surprise me if that causes problems, frame change and depsgraph handlers normally should only use direct API functions. Calling operators with associated undo pushes and other scene updates may well break something.

Tue, Feb 4, 6:09 PM · Dependency Graph, BF Blender
Aurel W (aurel) added a comment to T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..

I was able to come up with a minimum example. My more complex code, including modifiers etc. resulted in segfaults with different stacktraces, but I guess it's the same issue triggering it.

Tue, Feb 4, 5:56 PM · Dependency Graph, BF Blender
Germano Cavalcante (mano-wii) removed a project from T68090: Knife Project: does not use the correct, up to date, source mesh for the projection: Tracker Curfew.

It is interesting to note that if you add a modifier to the Circle, the projection on the other object is that of the original Circle plus the modifier.
This makes me suspect that the modifier is being computed for two objects instead of one.

Tue, Feb 4, 1:43 PM · Dependency Graph, Modeling, BF Blender
Richard Antalik (ISS) merged task T66117: Sequencer Scene Strips' Input(3D/Sequencer) and volume and has no effect on audio. into T69444: VSE Linked external scene with audio with input Sequencer only works if the scene is NOT also linked with input Camera.
Tue, Feb 4, 12:08 PM · Tracker Curfew, Dependency Graph, Audio, BF Blender
Richard Antalik (ISS) added a comment to T66117: Sequencer Scene Strips' Input(3D/Sequencer) and volume and has no effect on audio..

I will merge this report to another one, because it is the same underlying issue.

Tue, Feb 4, 12:08 PM · Tracker Curfew, Dependency Graph, Audio, BF Blender
Richard Antalik (ISS) renamed T73521: Self-referencing driver works in viewport, but not in render. from Driver scripts do not accept updated data during rendering to Self-referencing driver works in viewport, but not in render..
Tue, Feb 4, 4:12 AM · Dependency Graph, BF Blender
Richard Antalik (ISS) reopened T73521: Self-referencing driver works in viewport, but not in render. as "Confirmed".
Tue, Feb 4, 4:11 AM · Dependency Graph, BF Blender
Richard Antalik (ISS) added a comment to T73521: Self-referencing driver works in viewport, but not in render..

@Vladimir (evilvoland) indeed this is nice demonstration of inconsistency, so I will reopen this report.

Tue, Feb 4, 4:03 AM · Dependency Graph, BF Blender

Mon, Feb 3

Sebastián Barschkis (sebbas) added a comment to T73537: Particle system Crash.

Just pushed a fix that resolves the crashing issue.

Mon, Feb 3, 10:12 PM · Dependency Graph, Physics, BF Blender
Sebastián Barschkis (sebbas) closed T73537: Particle system Crash as Resolved by committing rBe268fe6e64dd: Fix T73537: Particle system Crash.
Mon, Feb 3, 10:04 PM · Dependency Graph, Physics, BF Blender
Sebastián Barschkis (sebbas) added a comment to T73537: Particle system Crash.

@Aleksandr (viadvena) I just saw that when opening this file in 2.81 there is no crash after "Copy All To Selected Objects" but all smoke flow objects lose their modifier.

Mon, Feb 3, 6:46 PM · Dependency Graph, Physics, BF Blender
Bastien Montagne (mont29) changed the subtype of T65148: Cant drive ob1 shape key, by obj2 shape key, if modifier is added to obj2 from "Report" to "Bug".
Mon, Feb 3, 5:47 PM · Dependency Graph, Animation & Rigging, BF Blender
Aurel W (aurel) added a comment to T73530: Crash on Rendering with Mesh Creation/Removal in frame_change_post handler..

@Brecht Van Lommel (brecht) I will put some more time into synthesizing a minimal working example. I was just not able reproduce the segfaults with my first attempt.

Mon, Feb 3, 4:20 PM · Dependency Graph, BF Blender
Vladimir (evilvoland) added a comment to T73521: Self-referencing driver works in viewport, but not in render..

I know how to make a simple rotation, but this scene is a simplified option for my rig.
The problem is that either the viewport does not render correctly, or the data is not updated during the rendering, while in version 2.79 everything goes as expected, including rendering (or in version 2.79, too, an error).

Mon, Feb 3, 3:38 PM · Dependency Graph, BF Blender