Skip to content

Commit d3ff417

Browse files
committed
as fixes to asset converter
1 parent 61e4425 commit d3ff417

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples_tests

include/nbl/asset/ICPUAccelerationStructure.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class ICPUBottomLevelAccelerationStructure final : public IPreHashed, public IBo
140140

141141
inline core::blake3_hash_t computeContentHash() const override
142142
{
143-
if (!missingContent())
143+
if (missingContent())
144144
return INVALID_HASH;
145145
const bool isAABB = m_buildFlags.hasFlags(BUILD_FLAGS::GEOMETRY_TYPE_IS_AABB_BIT);
146146
core::blake3_hasher hasher;

include/nbl/video/asset_traits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ struct asset_traits<asset::ICPUBottomLevelAccelerationStructure>
194194
// the asset type
195195
using asset_t = asset::ICPUBottomLevelAccelerationStructure;
196196
// we don't need to descend during DFS into other assets
197-
constexpr static inline bool HasChildren = true;
197+
constexpr static inline bool HasChildren = false;
198198
// the video type
199199
using video_t = IGPUBottomLevelAccelerationStructure;
200200
// lookup type

0 commit comments

Comments
 (0)