Commit: 386da0cc77cbd16a8b5a196dd1b44e517198dbda Author: Sergey Sharybin Date: Tue Sep 20 13:00:16 2016 +0200 Branches: master https://developer.blender.org/rB386da0cc77cbd16a8b5a196dd1b44e517198dbda
Cycles: Avoid conversion from bool to uint =================================================================== M intern/cycles/kernel/bvh/qbvh_volume_all.h =================================================================== diff --git a/intern/cycles/kernel/bvh/qbvh_volume_all.h b/intern/cycles/kernel/bvh/qbvh_volume_all.h index 26da014..5d9b2ed 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 _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs