Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhang95 committed Dec 17, 2024
1 parent 5cd56e4 commit cadf44d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions zenovis/xinxinoptix/OptiXStuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cadf44d

Please sign in to comment.