Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-11-11 20:39:46 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-11-12 22:14:12 +0300
commitd59fa12f2ad5c57c68d63e476270fcd274b61062 (patch)
tree53021c1ae77da2a5b7524d7dcb1b692c13a94f4a /intern/cycles/render/session.h
parent5c01ecd2bf5d0dc0d42f90aba2a3d9f948d16bb8 (diff)
Fix T82607: crash cancelling Cycles render during adaptive subdivision update
Now that the Blender sync mechanism deletes nodes from the scene, we need to ensure scene update is stopped before we do this. Also add some more early out in scene geometry update to ensure we do not continue working on incomplete geometry data, though that was not the cause of this crash.
Diffstat (limited to 'intern/cycles/render/session.h')
-rw-r--r--intern/cycles/render/session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h
index a22bf7731ae..a52082bd8cb 100644
--- a/intern/cycles/render/session.h
+++ b/intern/cycles/render/session.h
@@ -146,6 +146,7 @@ class Session {
~Session();
void start();
+ void cancel();
bool draw(BufferParams &params, DeviceDrawParams &draw_params);
void wait();