Blender Git Loki

Git Commits -> Revision 3915377

Revision 3915377 by Sergey Sharybin (cycles-x)
April 8, 2021, 15:42 (GMT)
Cycles: Fix threading issues in the PathTrace render cancel

The actual flow is a bit of a mystery to me, but there were cases
when `PathTrace::cancel()` was waiting for the `PathTrace::render()`
to finish, but the `render_cancel_.is_requested` was cleared so that
the render_pipeline was not quitting.

The new code seems more logical to me, but really wouldn't mind a
second pair of eyes here.

Commit Details:

Full Hash: 3915377ec5ae5eb7492ad9308f067624c2a4b939
Parent Commit: 3f57b4a
Lines Changed: +5, -1

1 Modified Path:

/intern/cycles/integrator/path_trace.cpp (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021