Wings 3D Development Forum
Default backup name wrong - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: Default backup name wrong (/showthread.php?tid=773)



Default backup name wrong - TulipVorlax - 07-04-2014

The default path and file name of the backup prefs is wrong :

Code:
{pref_directory,"e:/Users/*****/AppData/Roaming/Wings3D/backup_prefs.txt"}.

This bit of code is found on the prefs file Wings create on exit when no prefs file exist, in that same folder.

I think it should be changed to :

Code:
{pref_directory,"e:/Users/*****/AppData/Roaming/Wings3D/backup.pref"}.

Because the backup function use file ending in .pref (without the "s" at the end).
Another possibility would be to make it use simple txt file like the one Wings use in AppData.


RE: Default backup name wrong - micheus - 07-04-2014

I don't see any problem with this name...

The "original" preferences files is named "Preferences.txt", so I don't see any problem about the preferences backup file be named "backup_prefs.txt" (backup of preferences - using the same .txt extension).

The .pref extension was introduced by the recent added ability to save a subset of preferences.


RE: Default backup name wrong - TulipVorlax - 07-05-2014

The problem is that loading a previouly saved subset ending in .txt just dont work; wings say "not a prefs file" :

[Image: Wings3D_000789.jpg]

In the following image, on the save dialog for the prefs subset, the type selector is set to *.pref, so i really think the software should do what it say it's doing.

[Image: _000788.jpg]


RE: Default backup name wrong - micheus - 07-05-2014

Yeah, that sound wrong. Smile

What I noticed was this "backup_pref.txt" file name assigned to the pref_directory field in the preferences.txt is wrong (or a mistake), since the file doesn't really exists (at least in my tests it was not created) - so, how to expect to load it?!
It's something appointed to be checked. Thanks again.


RE: Default backup name wrong - TulipVorlax - 07-05-2014

Oh, ok, good.
I knew it wasn't of a really big importance, but i wanted to point it out.
Thanks for taking the time to make it better.
:-)