Skip to content

Commit

Permalink
fix the 4d image loader
Browse files Browse the repository at this point in the history
  • Loading branch information
takashi310 committed Apr 14, 2023
1 parent 0844a4c commit bc3ca5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fluorender/FluoRender/FLIVR/MshShader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ namespace FLIVR

s = z.str();

//std::cerr << s << std::endl;
std::cerr << s << std::endl;

return false;
}
Expand Down Expand Up @@ -575,7 +575,7 @@ namespace FLIVR

s = z.str();

std::cerr << s << std::endl;
//std::cerr << s << std::endl;

return false;
}
Expand Down
5 changes: 4 additions & 1 deletion fluorender/FluoRender/Formats/tif_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,15 @@ void TIFReader::Preprocess()
m_time_num = list.size();
}
}

if (list.size() == 0)
list.push_back(m_path_name);

//build sequence information for the hyperstack
isHyperstack_ = true;
m_data_name = name;
int page_cnt = 0;
for (int i = 0; i < m_time_num; ++i)
for (int i = 0; i < list.size(); ++i)
{
TimeDataInfo info;

Expand Down

0 comments on commit bc3ca5b

Please sign in to comment.