diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-07-26 17:52:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-07-27 22:02:21 +0300 |
commit | 69f2732a1391680d252c86365b2df62b084ceeb8 (patch) | |
tree | 8863f9d0f0fe296b65b71ffc841d6bc016b8b6f2 /intern/cycles/kernel/bvh/volume_all.h | |
parent | cd47d1b2ed0834e52c1e71027c5b5032f1a24afd (diff) |
Cleanup: remove unnecessary bvh_instance_motion_pop
Diffstat (limited to 'intern/cycles/kernel/bvh/volume_all.h')
-rw-r--r-- | intern/cycles/kernel/bvh/volume_all.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/intern/cycles/kernel/bvh/volume_all.h b/intern/cycles/kernel/bvh/volume_all.h index 5cdea3e354c..721eb555d4d 100644 --- a/intern/cycles/kernel/bvh/volume_all.h +++ b/intern/cycles/kernel/bvh/volume_all.h @@ -242,11 +242,7 @@ ccl_device_inline kernel_assert(object != OBJECT_NONE); /* Instance pop. */ -#if BVH_FEATURE(BVH_MOTION) - bvh_instance_motion_pop(kg, object, ray, &P, &dir, &idir); -#else - bvh_instance_pop(kg, object, ray, &P, &dir, &idir); -#endif + bvh_instance_pop(ray, &P, &dir, &idir); object = OBJECT_NONE; node_addr = traversal_stack[stack_ptr]; |