Page MenuHome
Feed Advanced Search

Today

Daniel Jones (markonfilms) added a comment to T76356: Very slow performance when copying rigid body physics.

I have a scene with only about 7K objects and it is so slow. This is definitely a bad performance issue for doing rigid body physics. Is there a workaround for this? It takes too long to be usable right now.

Sun, Jul 5, 1:41 PM · Performance, Dependency Graph, Nodes & Physics, BF Blender

Wed, Jul 1

Julian Eisel (Severin) moved T76346: Local collection visibility doesn't update when an item is moved between collections from Backlog to Bugs on the User Interface board.
Wed, Jul 1, 3:39 PM · Dependency Graph, User Interface, BF Blender
Clément Foucault (fclem) moved T73429: Approach Faster Animation Playback from Backlog to Long-Term on the EEVEE & Viewport board.
Wed, Jul 1, 2:54 AM · EEVEE & Viewport, Dependency Graph, Animation & Rigging
Clément Foucault (fclem) removed a project from T77409: Instance face duplicated geometry doesn't render in edit mode: EEVEE & Viewport.
Wed, Jul 1, 2:03 AM · Dependency Graph, BF Blender

Tue, Jun 30

Clément Foucault (fclem) changed the subtype of T76346: Local collection visibility doesn't update when an item is moved between collections from "Report" to "Bug".
Tue, Jun 30, 4:18 PM · Dependency Graph, User Interface, BF Blender
Clément Foucault (fclem) changed the subtype of T76279: Disabling/enabling in viewport a sub collection doesn't make the instances of the collection disabled/enabled unless you save and re-open the file from "Report" to "Bug".
Tue, Jun 30, 3:36 PM · Dependency Graph, User Interface, BF Blender
Clément Foucault (fclem) edited projects for T76279: Disabling/enabling in viewport a sub collection doesn't make the instances of the collection disabled/enabled unless you save and re-open the file, added: Dependency Graph; removed EEVEE & Viewport.

Without reopening the file, you can trigger the missing update by changing the viewport visibility of any Scene Collection object.

Tue, Jun 30, 3:35 PM · Dependency Graph, User Interface, BF Blender
Clément Foucault (fclem) edited projects for T75579: Subdivision Surface Modifier slow when animation started with EEVEE, added: Dependency Graph; removed EEVEE & Viewport.
Tue, Jun 30, 12:50 AM · Dependency Graph, BF Blender

Fri, Jun 26

Julian Eisel (Severin) moved T63650: Renaming of Vertex Groups not possible in complex projects from Backlog to Bugs on the User Interface board.
Fri, Jun 26, 6:25 PM · User Interface, Dependency Graph, BF Blender
Sybren A. Stüvel (sybren) closed D8124: Fix T78071: Drivers reading object visibility not updating automatically.
Fri, Jun 26, 12:40 PM · Dependency Graph, Nodes & Physics, BF Blender
Sybren A. Stüvel (sybren) closed T78071: Object drivers driven by outliner visibility not updating automatically as Resolved by committing rBc7694185c92a: Fix T78071: Drivers reading object visibility not updating automatically.
Fri, Jun 26, 12:40 PM · Nodes & Physics, Dependency Graph, BF Blender
Sybren A. Stüvel (sybren) added a reviewer for D8124: Fix T78071: Drivers reading object visibility not updating automatically: Sergey Sharybin (sergey).
Fri, Jun 26, 12:30 PM · Dependency Graph, Nodes & Physics, BF Blender
Sybren A. Stüvel (sybren) updated the diff for D8124: Fix T78071: Drivers reading object visibility not updating automatically.
  • Feedback from Sergey. Now things work with the Spring rig.
Fri, Jun 26, 12:29 PM · Dependency Graph, Nodes & Physics, BF Blender
Sybren A. Stüvel (sybren) added inline comments to D8124: Fix T78071: Drivers reading object visibility not updating automatically.
Fri, Jun 26, 11:57 AM · Dependency Graph, Nodes & Physics, BF Blender
Sergey Sharybin (sergey) added inline comments to D8124: Fix T78071: Drivers reading object visibility not updating automatically.
Fri, Jun 26, 11:27 AM · Dependency Graph, Nodes & Physics, BF Blender

Thu, Jun 25

Vyacheslav (hitrpr) added a comment to T73199: Switched off modifier still recalculates if there is second one, that switched on.

Idk if it is correct place, but I have this bit of info about modifiers unnecessary recalculation,
may be it can help to check Blender`s behavior more precisely.


Thu, Jun 25, 8:25 PM · Modeling, Performance, Dependency Graph, Modifiers, BF Blender
Sybren A. Stüvel (sybren) added inline comments to D8124: Fix T78071: Drivers reading object visibility not updating automatically.
Thu, Jun 25, 6:01 PM · Dependency Graph, Nodes & Physics, BF Blender
Sybren A. Stüvel (sybren) updated the summary of D8124: Fix T78071: Drivers reading object visibility not updating automatically.
Thu, Jun 25, 5:57 PM · Dependency Graph, Nodes & Physics, BF Blender
Sybren A. Stüvel (sybren) added projects to D8124: Fix T78071: Drivers reading object visibility not updating automatically: BF Blender, Nodes & Physics, Dependency Graph.
Thu, Jun 25, 5:57 PM · Dependency Graph, Nodes & Physics, BF Blender
Sybren A. Stüvel (sybren) reopened T78071: Object drivers driven by outliner visibility not updating automatically as "Confirmed".

My fix caused another issue, so I'm reopening this task.

Thu, Jun 25, 3:20 PM · Nodes & Physics, Dependency Graph, BF Blender
Sybren A. Stüvel (sybren) closed T78071: Object drivers driven by outliner visibility not updating automatically as Resolved by committing rBbaa0da3e69a1: Fix T78071: Drivers reading object visibility not updating automatically.
Thu, Jun 25, 2:34 PM · Nodes & Physics, Dependency Graph, BF Blender
Sybren A. Stüvel (sybren) changed the subtype of T78071: Object drivers driven by outliner visibility not updating automatically from "Report" to "Bug".
Thu, Jun 25, 2:29 PM · Nodes & Physics, Dependency Graph, BF Blender
Sybren A. Stüvel (sybren) claimed T78071: Object drivers driven by outliner visibility not updating automatically.

Toggling the hide_viewport property on Cube_1 causes this to be logged on the terminal:

Thu, Jun 25, 11:53 AM · Nodes & Physics, Dependency Graph, BF Blender

Wed, Jun 24

Jacques Lucke (JacquesLucke) added a comment to T78071: Object drivers driven by outliner visibility not updating automatically.

Ah I see..

Wed, Jun 24, 12:59 PM · Nodes & Physics, Dependency Graph, BF Blender
Richard Antalik (ISS) added a comment to T78071: Object drivers driven by outliner visibility not updating automatically.

I can reproduce it, but I'm not sure why this is in the Nodes & Physics module.

Wed, Jun 24, 12:43 PM · Nodes & Physics, Dependency Graph, BF Blender
Jacques Lucke (JacquesLucke) added a comment to T78071: Object drivers driven by outliner visibility not updating automatically.

I can reproduce it, but I'm not sure why this is in the Nodes & Physics module.

Wed, Jun 24, 12:18 PM · Nodes & Physics, Dependency Graph, BF Blender

Tue, Jun 23

Clément Foucault (fclem) edited projects for T65214: Shape Key animations do not render if user is in edit mode when beginning the render., added: Render & Cycles; removed EEVEE & Viewport.
Tue, Jun 23, 11:16 PM · Render & Cycles, Dependency Graph, BF Blender
Richard Antalik (ISS) changed the status of T78071: Object drivers driven by outliner visibility not updating automatically from Needs Triage to Confirmed.

This may be already reported, but I can't find any open issue like this

Tue, Jun 23, 12:26 PM · Nodes & Physics, Dependency Graph, BF Blender

Sat, Jun 20

Campbell Barton (campbellbarton) moved T74092: "ReferenceError: StructRNA of type Mesh has been removed" when accessing mesh data (created using depsgraph evaluation) after rendering by script from Bugs (API) to Bugs (Context) on the Python API board.
Sat, Jun 20, 4:48 AM · Dependency Graph, Python API, BF Blender

Fri, Jun 19

Campbell Barton (campbellbarton) moved T61575: 2.8 Cycles viewport Ray Visibility is not updated in viewport when changed by Python from Bugs (API) to Bugs (Context) on the Python API board.
Fri, Jun 19, 2:34 PM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) moved T75553: python unreliable result for bpy.context.view_layer.name when used in drivers from Bugs (API) to Bugs (Context) on the Python API board.
Fri, Jun 19, 1:38 PM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph
Campbell Barton (campbellbarton) moved T74080: Drivers - Invalid python expression after rendering from Bugs (API) to Bugs (Context) on the Python API board.
Fri, Jun 19, 1:38 PM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) moved T62504: Access violation trying to access C.evaluated_get().view_layer_eval.depsgraph from Bugs (API) to Bugs (Context) on the Python API board.
Fri, Jun 19, 1:36 PM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) moved T61575: 2.8 Cycles viewport Ray Visibility is not updated in viewport when changed by Python from Backlog to Bugs (API) on the Python API board.
Fri, Jun 19, 11:22 AM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) moved T73563: closest_point_on_mesh() freezes Blender when called from a driver from Bugs (API) to Known Issues on the Python API board.
Fri, Jun 19, 11:08 AM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) moved T62504: Access violation trying to access C.evaluated_get().view_layer_eval.depsgraph from Backlog to Bugs (API) on the Python API board.
Fri, Jun 19, 11:02 AM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) edited projects for T61575: 2.8 Cycles viewport Ray Visibility is not updated in viewport when changed by Python, added: Python API; removed Add-ons (BF-Blender).
Fri, Jun 19, 10:35 AM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) edited projects for T62504: Access violation trying to access C.evaluated_get().view_layer_eval.depsgraph, added: Python API; removed Add-ons (BF-Blender).
Fri, Jun 19, 10:35 AM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) moved T73563: closest_point_on_mesh() freezes Blender when called from a driver from Backlog to Bugs (API) on the Python API board.
Fri, Jun 19, 10:02 AM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) edited projects for T73563: closest_point_on_mesh() freezes Blender when called from a driver, added: Python API; removed Add-ons (BF-Blender).
Fri, Jun 19, 9:34 AM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) removed a project from T74080: Drivers - Invalid python expression after rendering: Add-ons (BF-Blender).
Fri, Jun 19, 9:28 AM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) moved T75553: python unreliable result for bpy.context.view_layer.name when used in drivers from Backlog to Bugs on the Add-ons (BF-Blender) board.
Fri, Jun 19, 9:22 AM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph

Thu, Jun 18

Campbell Barton (campbellbarton) moved T74080: Drivers - Invalid python expression after rendering from Backlog to Bugs (API) on the Python API board.
Thu, Jun 18, 3:39 PM · Python API, Dependency Graph, BF Blender
Campbell Barton (campbellbarton) moved T74092: "ReferenceError: StructRNA of type Mesh has been removed" when accessing mesh data (created using depsgraph evaluation) after rendering by script from Backlog to Bugs (API) on the Python API board.
Thu, Jun 18, 3:38 PM · Dependency Graph, Python API, BF Blender
Campbell Barton (campbellbarton) moved T75553: python unreliable result for bpy.context.view_layer.name when used in drivers from Backlog to Bugs (API) on the Python API board.
Thu, Jun 18, 3:37 PM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph
Campbell Barton (campbellbarton) moved T77086: Passing Dependency Graph to Drivers from Backlog to Long-Term on the Python API board.
Thu, Jun 18, 3:35 PM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph
Germano Cavalcante (mano-wii) raised the priority of T77867: Duplicate Object, then Linked Duplicate Object, then Repeat Last Tool causes crash from High to Unbreak Now!.
Thu, Jun 18, 3:18 PM · BF Blender (2.90), EEVEE & Viewport
Germano Cavalcante (mano-wii) changed the status of T77867: Duplicate Object, then Linked Duplicate Object, then Repeat Last Tool causes crash from Needs Triage to Confirmed.

I can confirm in Release build only.
But I'm still not sure what causes the crash.
For the traceback it seems to be on Depsgraph.

Thu, Jun 18, 3:14 PM · BF Blender (2.90), EEVEE & Viewport
Germano Cavalcante (mano-wii) updated the task description for T77867: Duplicate Object, then Linked Duplicate Object, then Repeat Last Tool causes crash.
Thu, Jun 18, 3:10 PM · BF Blender (2.90), EEVEE & Viewport
Sybren A. Stüvel (sybren) updated the task description for T77086: Passing Dependency Graph to Drivers.
Thu, Jun 18, 2:55 PM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph
Sybren A. Stüvel (sybren) added a comment to T75553: python unreliable result for bpy.context.view_layer.name when used in drivers.
def isViewLayer1(depsgraph):
    return "View Layer 1" in depsgraph.view_layer.name
Thu, Jun 18, 11:01 AM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph

Wed, Jun 17

Evan Wilson (EAW) merged T77956: disabled bool modifier impacts performance into T73199: Switched off modifier still recalculates if there is second one, that switched on.
Wed, Jun 17, 7:56 PM · Modeling, Performance, Dependency Graph, Modifiers, BF Blender
Campbell Barton (campbellbarton) moved T68090: Knife Project: does not use the correct, up to date, source mesh for the projection from Backlog to Bugs on the Modeling board.
Wed, Jun 17, 5:21 AM · Dependency Graph, Modeling, BF Blender

Tue, Jun 16

Campbell Barton (campbellbarton) added a project to T77115: Mesh Cache Is Evaluated When Display Type Is Bounds or Outline Display Flag Is Off: Dependency Graph.
Tue, Jun 16, 5:27 AM · Dependency Graph, BF Blender

Fri, Jun 12

Sergey Sharybin (sergey) moved T68946: VSE - Bad interpolation in exported audio from Backlog to Known Issues on the VFX & Video board.
Fri, Jun 12, 3:46 PM · VFX & Video, Dependency Graph, Audio, BF Blender
Dalai Felinto (dfelinto) moved T77086: Passing Dependency Graph to Drivers from Design to Blender 2.90 on the Animation & Rigging board.
Fri, Jun 12, 10:31 AM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph
Dalai Felinto (dfelinto) moved T71908: Keyframed parameters are not preserved when frame_change_post handler is used from Bugs to Blender 2.90 on the Animation & Rigging board.
Fri, Jun 12, 10:23 AM · BF Blender (2.90), Animation & Rigging, Dependency Graph
Dalai Felinto (dfelinto) moved T75553: python unreliable result for bpy.context.view_layer.name when used in drivers from Bugs to Blender 2.90 on the Animation & Rigging board.
Fri, Jun 12, 10:23 AM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph

Wed, Jun 10

Artturi Mäntysaari (Armmm) added a comment to T59272: Dead particles not included in render (F12), but visible in viewport.

I am also having this problem in Blender version 2.83

Wed, Jun 10, 10:28 PM · Nodes & Physics, Dependency Graph, BF Blender

Tue, Jun 9

Germano Cavalcante (mano-wii) merged task T58044: Issue with rigid body and modifiers dependent on transform into T77685: Object position calculated in the Rigidbody simulation is ignored by the modifiers.
Tue, Jun 9, 3:10 PM · Nodes & Physics, BF Blender, Dependency Graph, Physics
Sybren A. Stüvel (sybren) moved T75553: python unreliable result for bpy.context.view_layer.name when used in drivers from Backlog to Bugs on the Animation & Rigging board.
Tue, Jun 9, 12:36 PM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph
Sybren A. Stüvel (sybren) changed the subtype of T75553: python unreliable result for bpy.context.view_layer.name when used in drivers from "Report" to "Bug".
Tue, Jun 9, 12:36 PM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph
Sybren A. Stüvel (sybren) triaged T75553: python unreliable result for bpy.context.view_layer.name when used in drivers as High priority.
Tue, Jun 9, 12:34 PM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph

Mon, Jun 8

Sybren A. Stüvel (sybren) edited projects for T75553: python unreliable result for bpy.context.view_layer.name when used in drivers, added: BF Blender (2.90); removed BF Blender.
Mon, Jun 8, 4:22 PM · BF Blender (2.90), Animation & Rigging, Python API, Dependency Graph
Sybren A. Stüvel (sybren) added a comment to T77038: Crash during render with frame_change_post handler updating materials.

The root cause of the thread-unsafety is the multi-threaded nature of the dependency graph evaluation. This is necessary to get a decent performance on modern multi-core/multi-threading CPUs. This can be resolved by adding mutexes/locks, but that will reduce Blender's performance. In a similar way, refusing to change data from Python when "Lock Interface" is disabled would require a check on each and every data change. This is also very likely to cause performance issues. The last option also isn't that easy, as it requires clean handling of a segmentation fault (which isn't possible except with rather hacky code). I'm happy to be proven wrong here, though.

Mon, Jun 8, 2:49 PM · Nodes & Physics, Dependency Graph, BF Blender
Germano Cavalcante (mano-wii) lowered the priority of T77409: Instance face duplicated geometry doesn't render in edit mode from High to Normal.
Mon, Jun 8, 1:02 PM · Dependency Graph, BF Blender
Germano Cavalcante (mano-wii) added a comment to T77409: Instance face duplicated geometry doesn't render in edit mode.

@Jeroen Bakker (jbakker), did you make sure to select the "Plane" object and enter edit mode?
I see no problem in 2.83. Crash in 2.90 Debug build

Mon, Jun 8, 1:01 PM · Dependency Graph, BF Blender
Sybren A. Stüvel (sybren) edited projects for T77086: Passing Dependency Graph to Drivers, added: BF Blender (2.90); removed BF Blender.
Mon, Jun 8, 11:05 AM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph
Jeroen Bakker (jbakker) added a comment to T77409: Instance face duplicated geometry doesn't render in edit mode.

I get the same result in b2.82, b2.83 and b2.90. Might this issue already be fixed? Or I am not able to reproduce it.

Mon, Jun 8, 8:27 AM · Dependency Graph, BF Blender

Fri, Jun 5

Germano Cavalcante (mano-wii) changed the status of T77409: Instance face duplicated geometry doesn't render in edit mode from Needs Triage to Confirmed.

In 2.90 this file is crashing!

Fri, Jun 5, 9:40 PM · Dependency Graph, BF Blender

Jun 4 2020

Sybren A. Stüvel (sybren) edited projects for T77277: DEG::is_reachable is taking 50% of DEG relation rebuild in coffee run file, added: BF Blender (2.90); removed BF Blender.
Jun 4 2020, 12:08 PM · BF Blender (2.90), Dependency Graph, Nodes & Physics
Sybren A. Stüvel (sybren) claimed T77277: DEG::is_reachable is taking 50% of DEG relation rebuild in coffee run file.
Jun 4 2020, 12:07 PM · BF Blender (2.90), Dependency Graph, Nodes & Physics
Sybren A. Stüvel (sybren) added a comment to T77277: DEG::is_reachable is taking 50% of DEG relation rebuild in coffee run file.

After diving into this with @Sergey Sharybin (sergey), we concluded the following:

Jun 4 2020, 12:07 PM · BF Blender (2.90), Dependency Graph, Nodes & Physics

Jun 3 2020

Germano Cavalcante (mano-wii) changed the status of T77279: adding drivers in the compositor always results in a dependency cycle which often causes blender to hang when reopening the saved .blend file. from Needs Triage to Confirmed.
Jun 3 2020, 7:43 PM · Nodes & Physics, Dependency Graph, BF Blender
Jacques Lucke (JacquesLucke) closed T75591: Cycles, point lamp can`t recieve variable colors from nodes as Resolved.
Jun 3 2020, 4:01 PM · Dependency Graph, Render & Cycles, BF Blender
Jacques Lucke (JacquesLucke) added a comment to T75591: Cycles, point lamp can`t recieve variable colors from nodes.

This was fixed by rB41bb0548b0c1: Fix T76897: Lamp Power Not Updating from Driver.

Jun 3 2020, 4:01 PM · Dependency Graph, Render & Cycles, BF Blender

Jun 2 2020

Dalai Felinto (dfelinto) updated the task description for T77277: DEG::is_reachable is taking 50% of DEG relation rebuild in coffee run file.
Jun 2 2020, 6:01 PM · BF Blender (2.90), Dependency Graph, Nodes & Physics
Sybren A. Stüvel (sybren) closed T77126: Depsgraph not updating properly for `frame_change_pre` handler as Resolved by committing rBcdf0d95a50e6: Fix T77126: Documented frame_change_pre and frame_change_post handlers.
Jun 2 2020, 5:33 PM · Dependency Graph, Animation & Rigging, Python API, BF Blender
Jeroen Bakker (jbakker) closed D7872: Depsgraph: Remove unneeded `RNA_path_resolve`.
Jun 2 2020, 4:04 PM · Dependency Graph
Sybren A. Stüvel (sybren) updated subscribers of T77126: Depsgraph not updating properly for `frame_change_pre` handler.

I agree that it is a good idea to explicitly pass the depsgraph here

Discussed with @Sergey Sharybin (sergey), and this is not possible. The handler is not to be used as a "before the frame changes" handler, but as a "before the depsgraph updates". This means it can be used for adjusting the data & relations for the new frame. The depsgraph itself is intentionally not available, as it's out of date (i.e. it's not in sync with either the previous or the current frame).

Jun 2 2020, 3:56 PM · Dependency Graph, Animation & Rigging, Python API, BF Blender
Sybren A. Stüvel (sybren) moved T77126: Depsgraph not updating properly for `frame_change_pre` handler from Bugs to TODOs on the Animation & Rigging board.
Jun 2 2020, 2:40 PM · Dependency Graph, Animation & Rigging, Python API, BF Blender
Sybren A. Stüvel (sybren) claimed T77126: Depsgraph not updating properly for `frame_change_pre` handler.

This is not the same as T71908.

Jun 2 2020, 2:35 PM · Dependency Graph, Animation & Rigging, Python API, BF Blender
Sybren A. Stüvel (sybren) moved T77126: Depsgraph not updating properly for `frame_change_pre` handler from Backlog to Bugs on the Animation & Rigging board.
Jun 2 2020, 2:17 PM · Dependency Graph, Animation & Rigging, Python API, BF Blender
Sybren A. Stüvel (sybren) moved T77086: Passing Dependency Graph to Drivers from Backlog to Design on the Animation & Rigging board.
Jun 2 2020, 2:17 PM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph

May 31 2020

Philipp Oeser (lichtwerk) closed T73957: 2.82 Mesh Deform Render Issue on proxied library as Resolved.

Thx getting back Ajlan, think we can close this then.

May 31 2020, 8:39 AM · Modifiers, Dependency Graph, Datablocks and Libraries, BF Blender
Ajlan Altug (jacobo) added a comment to T73957: 2.82 Mesh Deform Render Issue on proxied library.

Arrgh, for Pete's sakes, that's it!!!! So sorry for not being able to see it sooner on my own. The boolean cutter has different subd levels set for viewport and render hence the discrepancy in the both results...

May 31 2020, 12:36 AM · Modifiers, Dependency Graph, Datablocks and Libraries, BF Blender

May 29 2020

Sybren A. Stüvel (sybren) added a comment to T77086: Passing Dependency Graph to Drivers.

My experience is that passing around depsgraph objects is painful, prone to error, and difficult to debug.

May 29 2020, 5:16 PM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph
Germano Cavalcante (mano-wii) changed the status of T77126: Depsgraph not updating properly for `frame_change_pre` handler from Needs Triage to Confirmed.

Looks well related to T71908 if not the same problem.

May 29 2020, 3:50 PM · Dependency Graph, Animation & Rigging, Python API, BF Blender
Philipp Oeser (lichtwerk) changed the status of T73957: 2.82 Mesh Deform Render Issue on proxied library from Confirmed to Needs Information from User.

OK, seems like the issue was actually more straightforward than I thought:

May 29 2020, 12:37 PM · Modifiers, Dependency Graph, Datablocks and Libraries, BF Blender
Philipp Oeser (lichtwerk) changed the status of T73957: 2.82 Mesh Deform Render Issue on proxied library from Needs Developer to Reproduce to Confirmed.

Hi @Ajlan Altug (jacobo) : terribly sorry this has been lying around for so long...

May 29 2020, 12:15 PM · Modifiers, Dependency Graph, Datablocks and Libraries, BF Blender
Sergey Sharybin (sergey) accepted D7872: Depsgraph: Remove unneeded `RNA_path_resolve`.

LGTM

May 29 2020, 10:08 AM · Dependency Graph
Jeroen Bakker (jbakker) requested review of D7872: Depsgraph: Remove unneeded `RNA_path_resolve`.
May 29 2020, 9:57 AM · Dependency Graph

May 28 2020

Russell (russ1642) added a comment to T77086: Passing Dependency Graph to Drivers.

My experience is that passing around depsgraph objects is painful, prone to error, and difficult to debug. If there's a way to handle this in a more automated fashion then I'm all for that. It would be great if code didn't have to be completely rewritten just because you're rendering an animation rather than a still frame.

May 28 2020, 5:12 PM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph
Sergey Sharybin (sergey) closed T65889: Hair Particles not updating in Viewport when using image sequence textures to drive Hair Size as Resolved by committing rB1335f2d27221: Fix T65889: Hair Particles not updating when using image sequence.
May 28 2020, 10:59 AM · Nodes & Physics, Dependency Graph, BF Blender

May 27 2020

Brecht Van Lommel (brecht) added a comment to T77086: Passing Dependency Graph to Drivers.

There is already a _RestrictContext Python class and an accompanying RestrictBlend context manager that do something similar while Blender is starting. However, this manipulates the global bpy.context, which is not something we want in this case. Instead of having bpy.context behave differently in different threads, we could document bpy.context access for drivers/handlers as "not allowed", and pass a suitable context to the driver in its local variables.

May 27 2020, 7:52 PM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph
Sergey Sharybin (sergey) reopened T71908: Keyframed parameters are not preserved when frame_change_post handler is used as "Confirmed".

Ooops, got the wrong task number referenced in the commit.

May 27 2020, 12:40 PM · BF Blender (2.90), Animation & Rigging, Dependency Graph
Sergey Sharybin (sergey) closed T71908: Keyframed parameters are not preserved when frame_change_post handler is used as Resolved by committing rB614d70a87dc3: OpenSubdiv: Compare sharpness based on converter.
May 27 2020, 12:24 PM · BF Blender (2.90), Animation & Rigging, Dependency Graph

May 26 2020

Sybren A. Stüvel (sybren) added a comment to T77086: Passing Dependency Graph to Drivers.

From future-proof point of view I think is best to refactor the code so that BPY_driver_exec receives AnimationEvalContext, even if it consists of a single Depsgraph* field. For the time -- i think we should not pass it explicitly, "just" get it from depsgraph.

May 26 2020, 6:34 PM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph
Daniel Bailey (danieljabailey) added a comment to T77038: Crash during render with frame_change_post handler updating materials.

I don't think this is an invalid bug report.
Sure it's a known issue, and it's documented, but it's not likely that any user is going to find that documentation upon encountering what appears to be a random segfault.

May 26 2020, 6:23 PM · Nodes & Physics, Dependency Graph, BF Blender
Brecht Van Lommel (brecht) added a comment to T77086: Passing Dependency Graph to Drivers.

I think passing down both a Depsgraph* and float time where needed through these functions is fine.

May 26 2020, 6:14 PM · BF Blender (2.90), Python API, Animation & Rigging, Dependency Graph