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>2018-09-28 16:03:03 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-28 16:03:03 +0300
commitd2d0b4fcd7f0fdb42cfbbbc6b708a6748b4d474f (patch)
tree1691015bf462cf0ca67142fd4b52a7380b3a05c9 /intern
parent3341d42ad5669edde09025043be9a221f7ee789b (diff)
parentde3ee3c6e842692a32182f3349bc1c76cde14683 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/bvh/bvh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/bvh/bvh.h b/intern/cycles/kernel/bvh/bvh.h
index b3135573878..d11d999134c 100644
--- a/intern/cycles/kernel/bvh/bvh.h
+++ b/intern/cycles/kernel/bvh/bvh.h
@@ -170,7 +170,7 @@ ccl_device_inline bool scene_intersect_valid(const Ray *ray)
* From production scenes so far it seems it's enough to test first element
* only.
*/
- return finite(ray->P.x);
+ return isfinite(ray->P.x);
}
/* Note: ray is passed by value to work around a possible CUDA compiler bug. */