I’ve encountered a bug in the LB Image Viewer where, when multiple files with the same filename that are located in a different folder are being given, the viewer only shows one of the files.
Say I have the following files:
\simulation\HB model\option_1\point_in_time_view\results\View_00.HDR
\simulation\HB model\option_1\point_in_time_view\results\View_01.HDR
\simulation\HB model\option_2\point_in_time_view\results\View_00.HDR
\simulation\HB model\option_2\point_in_time_view\results\View_01.HDR
Then even though it does show 4 images with the arrows on the bottom, only View 0 and View 1 of option 1 are displayed in the LB Image Viewer when scrolling to image 3/4 and image 4/4.
I’ve had a look in the source code and even though my C# is very subpar, it seems that the image viewer is creating a temporary .TIFF file that it pushes to the viewer. For this it only seems to consider the file name and not the path it is in (line 320):
Since the temp directory is shared, each new file with the same name overwrites the previous one.
Perhaps including a hash in the temporary file would be the easiest fix. Or otherwise do a check on the file path of the images.