diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-12-03 15:22:19 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-12-03 17:01:02 +0300 |
commit | 1983a52e04eb0b0a8a71d66a1bb2f316f1326d90 (patch) | |
tree | 032e4d5d6909af1c21a7fc7abdb2b67911a32412 /source/blender/depsgraph/DEG_depsgraph.h | |
parent | 764e937d1a77b99d384a729700a08ef6fbe7bfac (diff) |
Depsgraph: assert that mesh_get_eval_final/deform aren't used in eval.
Using those functions during multithreaded evaluation is a sure
way to have a race condition and crash.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index c87ba188677..4cfeb206b97 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -237,6 +237,8 @@ void DEG_make_inactive(struct Depsgraph *depsgraph); /* Evaluation Debug ------------------------------ */ +bool DEG_debug_is_evaluating(struct Depsgraph *depsgraph); + void DEG_debug_print_begin(struct Depsgraph *depsgraph); void DEG_debug_print_eval(struct Depsgraph *depsgraph, |