13
$\begingroup$

I've been looking at the depsgraph changes in the documentation here, but I don't know if I understood it right: the dependency graph is a sort of diagram that links data blocks to each other so that blender updates only the necessary items, and not all the entire project, right?

So when is the bpy.app.handlers.depsgraph_update handler updated?

When changing any value in the project (so on any user input that changes a data-block), while rendering, when saving the project, when playing an animation...?

$\endgroup$

1 Answer 1

1
$\begingroup$

I think you could probably get an answer to your question by running Blender from the command line with one of these options:

Command line depsgraph options

$\endgroup$
7
  • $\begingroup$ Just decided to randomly check out the "unanswered" questions tab, only just now realized this was from 3 years ago. Lol anyways, hope it's helpful to someone in the future. $\endgroup$
    – Jakemoyo
    Commented Jun 10, 2022 at 10:18
  • $\begingroup$ that will only display the debug messages, doesn't provide info on when it gets triggered. $\endgroup$ Commented Jul 4, 2022 at 13:46
  • $\begingroup$ Even when you use --debug-depsgraph-time? $\endgroup$
    – Jakemoyo
    Commented Jul 4, 2022 at 14:47
  • $\begingroup$ taht one is just timed initialization info $\endgroup$ Commented Jul 4, 2022 at 14:51
  • 1
    $\begingroup$ Tbh, I ended up scrapping the project for which I needed this info. However, flagging this as accepted answer, as I don't see better answers. $\endgroup$
    – Tareyes
    Commented Sep 18, 2022 at 23:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .