Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Default backup name wrong
07-04-2014, 02:36 PM
Post: #1
Default backup name wrong
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.

My websites (in french) :
MainBlogShared gallery3D Wiki (WIP)
Reply
07-04-2014, 08:02 PM
Post: #2
RE: Default backup name wrong
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.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
07-05-2014, 12:24 AM
Post: #3
RE: Default backup name wrong
The problem is that loading a previouly saved subset ending in .txt just dont work; wings say "not a prefs file" :



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.


My websites (in french) :
MainBlogShared gallery3D Wiki (WIP)
Reply
07-05-2014, 12:32 AM
Post: #4
RE: Default backup name wrong
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.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
07-05-2014, 12:42 AM
Post: #5
RE: Default backup name wrong
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.
:-)

My websites (in french) :
MainBlogShared gallery3D Wiki (WIP)
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)