[Bf-python] Library.Open() - relative paths
theeth at yahoo.com
Wed Oct 11 16:59:31 CEST 2006
--- Campbell Barton <cbarton at metavr.com> wrote:
> Malefico needs to get python to open up relative
> say Library.Open('//foo.blend')
> Currently this isnt supported because Library.c's
> M_Library_Open func
> calls readblenentry.c's BLO_blendhandle_from_file
> that calls
> readfile.c's blo_openblenderfile
> blo_openblenderfile dosnt support relative paths.
> Im a bit buisy right now to fix this so Id
> appreciate it if one of the
> other c/python'ers could solve this one.
> - Cam
Tell him to use the os.path module to "unrelativize"
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Bf-python