[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/src language.c

Stefan Gartner stefang at aon.at
Wed Mar 2 14:31:06 CET 2005


On Wednesday 02 March 2005 01:33, Alexander Ewering wrote:
> On Tue, 1 Mar 2005, Martin Poirier wrote:
> >> Note though that if that message appears, Blender
> >> will also be unable
> >> to find any bundled python scripts.
> >
> > .blanguages is in the same folder as the scripts, so
> > duh!
>
> Heh. Know what? You're at least not alone with that problem :-)
>
> Today I noticed that Opera also needs to be started with the WORKING
> DIRECTORY in the same directory as the opera root, otherwise it will
> complain about missing files, too.
>
> Even though it's *so* simple to solve.
>
> ===========> argv[0] <===============
>
> contains the COMPLETE PATH to the binary.
>
> Is there anything more to say? :)

There's already BLI_where_am_i(), why not use that to find the full path to 
the binary? (as it even seems to work)



More information about the Bf-committers mailing list