[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30380] trunk/blender/source/blender/ blenlib/intern/path_util.c: Fix for use of path environment variables, was not appending subfolder.

Matt Ebb matt at mke3.net
Wed Jul 28 01:09:17 CEST 2010


Maybe it's a confusion in terms.

There's the main defined paths, eg. 
BLENDER_SYSTEM_DATAFILES
BLENDER_USER_SCRIPTS

but there's also an additional argument for a subfolder beneath those paths, for example if you're interested in the scripts/ui folder you can use BLENDER_USER_SCRIPTS, with 'ui' as a subfolder. The environment variables just point to the main defined folders (eg. the location of the user scripts), but if you're trying to retrieve a subfolder beneath that ('ui'), it needs to get appended on too.

cheers

Matt



On 16/07/2010, at 02:35 , Andrea Weikert wrote:

> Hi,
> 
> I am a bit surprised at this commit, as far as the proposal went, I 
> thought the environment variables would contain the full path, including 
> the subfolder.
> 
> The proposal is written here:
> http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Proposal
> 
> I just think we should clarify this before the release, since it also 
> affects the documentation.
> 
> Cheers,
> Andrea
> 
> Brecht Van Lommel schrieb:
>> Revision: 30380
>>          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30380
>> Author:   blendix
>> Date:     2010-07-15 17:03:42 +0200 (Thu, 15 Jul 2010)
>> 
>> Log Message:
>> -----------
>> Fix for use of path environment variables, was not appending subfolder.
>> 
>> Modified Paths:
>> --------------
>>    trunk/blender/source/blender/blenlib/intern/path_util.c
>> 
>> 
>> 
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



More information about the Bf-committers mailing list