Blender Git Loki
Git Commits -> Revision 88ba975
Revision 88ba975 by Sergey Sharybin (master) October 11, 2019, 08:42 (GMT) |
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 |
Commit Details:
Full Hash: 88ba97558f886c2b58c03d753036c5917a985fdb
Parent Commit: c9d6eb4
Lines Changed: +26, -6