Wings 3D Development Forum

Full Version: Under what conditions would Wings3D rewrite Preferences.txt file ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Under what conditions would Wings3D rewrite Preferences.txt file ?

I'm doing custom development , and have 7,8, or more preferences scattered about in Preferences.txt file

I think I was editing preferences.txt and who knows ... maybe I saved as rich text by mistake. Syntax error, missing comma. But i restarted via batch file ... and then all was gone. Preference.txt seemed to be rewritten as new and basic.

I wish I had backed it up.
(04-13-2015 03:20 PM)ggaliens Wrote: [ -> ]Under what conditions would Wings3D rewrite Preferences.txt file ?
As I had noticed that happens always the file is corrupted in some way (load fail).

I noticed that exactly when I was trying to change the code to load files with unicode content. I had implemented the preferences.bak creation when default load has failed, but as the code was replaced for a better and shorter one, that change ended by being lost. (local_consult)

It didn't was implemented until now, maybe because no one have experienced a real situation where preferences could be be corrupted.
What you and me were doing is a no correct use of that file.
Reference URL's