From cadf44d32174c6a94f688376752216819a9ea3ad Mon Sep 17 00:00:00 2001 From: zhouhang95 <765229842@qq.com> Date: Tue, 17 Dec 2024 20:19:09 +0800 Subject: [PATCH] fix --- zenovis/xinxinoptix/OptiXStuff.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/zenovis/xinxinoptix/OptiXStuff.h b/zenovis/xinxinoptix/OptiXStuff.h index 1187c5d09..62bad9215 100644 --- a/zenovis/xinxinoptix/OptiXStuff.h +++ b/zenovis/xinxinoptix/OptiXStuff.h @@ -874,11 +874,7 @@ inline void addTexture(std::string path, bool blockCompression=false, TaskType* { std::string native_path = std::filesystem::u8path(path).string(); - TexKey tex_key {path, blockCompression}; - - if (tex_lut.count(tex_key)) { - return; // do nothing - } + TexKey tex_key {path, blockCompression}; zeno::log_debug("loading texture :{}", path);