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
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-09-20 14:00:16 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-09-20 14:00:36 +0300
commit386da0cc77cbd16a8b5a196dd1b44e517198dbda (patch)
tree9680d9966d816c2008b4813baac4aaf98186001c /intern
parent87c08fa681f5c9f310abf928b7032992ac2a20b4 (diff)
Cycles: Avoid conversion from bool to uint
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/bvh/qbvh_volume_all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/bvh/qbvh_volume_all.h b/intern/cycles/kernel/bvh/qbvh_volume_all.h
index 26da0145020..5d9b2edb4ba 100644
--- a/intern/cycles/kernel/bvh/qbvh_volume_all.h
+++ b/intern/cycles/kernel/bvh/qbvh_volume_all.h
@@ -69,7 +69,7 @@ ccl_device uint BVH_FUNCTION_FULL_NAME(QBVH)(KernelGlobals *kg,
#ifndef __KERNEL_SSE41__
if(!isfinite(P.x)) {
- return false;
+ return 0;
}
#endif