Tom94 / tev

High dynamic range (HDR) image viewer for graphics people
BSD 3-Clause "New" or "Revised" License
1.08k stars 86 forks source link

Don't create duplicate images over IPC #182

Closed anderslanglands closed 2 years ago

anderslanglands commented 2 years ago

As discussed here: https://github.com/Tom94/tev/issues/181 this PR adds a check in IPC that skips creating a new image if an image with that name already exists, or rather it removes the existing image before adding the new one (in case the new one has a different shape).

Tom94 commented 2 years ago

Thank you very much! I agree very much with the points raised in the corresponding issue. This is a much better approach than the previous "duplicate image" policy.