norgeotloic / BakeMyScan

Blender add-on to turn high resolution scans into lowpoly assets
http://bakemyscan.org
GNU General Public License v3.0
145 stars 15 forks source link

Executable paths disappearing when upgrading the addon #57

Closed filibis closed 5 years ago

filibis commented 5 years ago

Hi Loïc,

Executables paths should be remembered after reopening Blender in my opinion (if that's possible).

Thanks for the great addon!

norgeotloic commented 5 years ago

Hello Filibis, and thanks for your feedback!

That behaviour seems strange, as the paths to the executables are correctly saved for me on linux and on Windows upon opening/closing...

Did you think about saving your user settings AFTER having selected the executables?

If that's the case, I'll ask you to wait a few hours to try the 1.0.1 version I'm working on, in which I might have fixed this behaviour "by accident". Otherwise, could you tell me which OS/version of blender you're on?

Note that when "upgrading" the addon, you'll have to reconfigure the paths to the executables, which I'll try to fix later...

filibis commented 5 years ago

Saving user settings did the trick (kept the paths after reopening Blender). By the way I'm using Windows 10, Blender v2.79.5.

norgeotloic commented 5 years ago

Okay, thanks for reassuring me! I'll still keep this issue open for the "release upgrade" problem, and renaming it accordingly!

norgeotloic commented 5 years ago

That should be fixed starting from the next release, as I have now created a configuration file which is saved in "bpy.utils.resource_path('USER')", and read when the addon is registered. However, you won't see this until upgrading from the next release, or by removing/reinstalling the addon...

To anyone: feel free to re-open if the next release does not fix the aforementioned behavior !