From 333366dbcf56c30bc9dbd0e43ec57401e34cb798 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 29 Sep 2016 15:48:10 +0200 Subject: [PATCH] Cycles: Fix typo in shader cancel routines --- intern/cycles/device/device_cuda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp index 147e21d798a..7f8a0bf2f43 100644 --- a/intern/cycles/device/device_cuda.cpp +++ b/intern/cycles/device/device_cuda.cpp @@ -993,7 +993,7 @@ public: cuda_assert(cuCtxSynchronize()); if(task.get_cancel()) { - canceled = false; + canceled = true; break; } }