File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -153,13 +153,6 @@ struct DRJIT_EXTRA_EXPORT TraversableBase : public nanobind::intrusive_base {
153
153
static_assert ( \
154
154
std::is_base_of<drjit::TraversableBase, \
155
155
std::remove_pointer_t <decltype (this )>>::value); \
156
- /* \
157
- * Only traverse the objects for frozen functions, since \
158
- * accidentally traversing the scene in loops or vcalls can cause \
159
- * issues. \
160
- */ \
161
- if (!jit_flag (JitFlag::EnableObjectTraversal)) \
162
- return ; \
163
156
if constexpr (!std::is_same_v<Base, drjit::TraversableBase>) \
164
157
Base::traverse_1_cb_ro (payload, fn); \
165
158
DRJIT_MAP (DR_TRAVERSE_MEMBER_RO, __VA_ARGS__) \
@@ -179,13 +172,6 @@ struct DRJIT_EXTRA_EXPORT TraversableBase : public nanobind::intrusive_base {
179
172
static_assert ( \
180
173
std::is_base_of<drjit::TraversableBase, \
181
174
std::remove_pointer_t <decltype (this )>>::value); \
182
- /* \
183
- * Only traverse the objects for frozen functions, since \
184
- * accidentally traversing the scene in loops or vcalls can cause \
185
- * issues. \
186
- */ \
187
- if (!jit_flag (JitFlag::EnableObjectTraversal)) \
188
- return ; \
189
175
if constexpr (!std::is_same_v<Base, drjit::TraversableBase>) \
190
176
Base::traverse_1_cb_rw (payload, fn); \
191
177
DRJIT_MAP (DR_TRAVERSE_MEMBER_RW, __VA_ARGS__) \
You can’t perform that action at this time.
0 commit comments