diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-10-10 13:25:23 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-10-11 11:42:45 +0300 |
commit | 88ba97558f886c2b58c03d753036c5917a985fdb (patch) | |
tree | ad76b7c9592251ff0973e381e95bcaee576aebdb /release/freedesktop | |
parent | c9d6eb4fb42b231037b00d64602ab0c589120cbb (diff) |
Depsgraph: Inform when update or tag happens during evaluation
It is not allowed to do tagging or updates while dependency graph is
in the middle of evaluation.
This is something what is simple to violate from python code. This
change adds some sanity checks.
The request to update view layer or dependency graph will raise an
exception in Python now, so it's easy for scripters to notice.
Tagging for update will do silent return unless running with debug
command line argument. This is because it's a bit tricky to know
which exact dependency graph corresponds to a context from which
an update tag was triggered.
Differential Revision: https://developer.blender.org/D6035
Diffstat (limited to 'release/freedesktop')
0 files changed, 0 insertions, 0 deletions