Hi Brecht, I talked about this with Nathan Letwory before committing, I fear this might be a conflict between Linux and Windows installations.
What this fixed, is that if a user has a single-folder installation that contains everything, including the subfolder with the datafiles, config, scripts etc. folders then the user couldn't save the user preferences. Or rather the user preferences were saved in the 'user' location (C:/Users/Andrea/AppData/Blender Foundation/Blender), but when trying to read them with BLENDER_CONFIG, they were looked for in the local directory, which also contained a config folder, but maybe different user preferences or no user preferences. Which made it look like user preferences/bookmarks/recent files weren't saved. I don't know about the scripts, if this commit broke the BLENDER_USER_SCRIPTS, we'll have to find some other solution - maybe also talk with Matt who wrote the original patch. I think we still want to support the single directory install as it allows to download Blender in a single zip file, put it on a usb stick and run on any Windows box without installing. Hope this clarifies he intentions a bit, we can talk about it on IRC in the next days (don't have much time tonight) - I'm also ok if you have a solution, but please discuss with Nathan Letwory and Matt Ebb to avoid going back and forth again on this issue ;) Cheers, Andrea Brecht Van Lommel schrieb: > Hi Andrea, > > On Wed, Jul 21, 2010 at 7:49 AM, Andrea Weikert <[email protected]> wrote: > >> Revision: 30565 >> >> http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30565 >> Author: elubie >> Date: 2010-07-21 07:49:48 +0200 (Wed, 21 Jul 2010) >> >> Log Message: >> ----------- >> == installation paths == >> Hopefully last fix for path issues for this release >> * The config folder should also be searched for in the 'local' path for >> local installations >> (This code was already there, but removed in revision 30440) >> > > This broke using BLENDER_USER_SCRIPTS for us, since it now returns the > same local directory as BLENDER_SYSTEM_SCRIPTS. In my opinion local > directories should never be part of USER stuff, now the distinction is > fuzzy because both SYSTEM and USER can return the same local path. I > don't understand which case this commit fixed? > > Brecht. > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
