Project-Path-of-Exile-Wiki / PyPoE

Collection of Python Tools for Path of Exile
GNU General Public License v3.0
24 stars 21 forks source link

Exporting Passive Icons is Slow. It Exports Duplicates. #63

Closed angelic-knight closed 2 years ago

angelic-knight commented 2 years ago

We should add logic to the icon exporting of the passives exporter that makes it so it won't try to export the same image path multiple times. The majority of nodes in the passive tree do not have unique icons, but we're exporting icons per-node instead of per-icon.

angelic-knight commented 2 years ago

Nevermind this. It does check if the expected file exists in the configured temp_dir and if it exists, skips exporting the icon. My antivirus was blocking the image exporter from saving files the first couple times I ran this, so things were not behaving as expected.