Fix: Cycles build error with Embree version 3, after recent refactor

Thanks Shane Ambler for finding this.

Ref #132361
This commit is contained in:
Brecht Van Lommel 2025-01-06 15:28:24 +01:00
parent c2b8186b07
commit 26c27e9d80

View file

@ -35,6 +35,10 @@
# include "util/progress.h" # include "util/progress.h"
# include "util/stats.h" # include "util/stats.h"
# if EMBREE_MAJOR_VERSION < 4
# include "kernel/device/cpu/bvh.h"
# endif
CCL_NAMESPACE_BEGIN CCL_NAMESPACE_BEGIN
static_assert(Object::MAX_MOTION_STEPS <= RTC_MAX_TIME_STEP_COUNT, static_assert(Object::MAX_MOTION_STEPS <= RTC_MAX_TIME_STEP_COUNT,