[Bf-funboard] Pack/Unpack for moving projects
Alexander Ewering
blender at instinctive.de
Sat Dec 16 05:25:32 CET 2006
On Sat, 16 Dec 2006, Campbell Barton wrote:
> Turns out fonts already do this.
> so just changed images and sounds.
>
> Heres the patch
> https://projects.blender.org/tracker/index.php?func=detail&aid=5445&group_id=9&atid=127
Hi,
interesting that fonts are the only place where this is already done the
(supposedly) saner way.
However, your patch will destroy the filenames stored in the structs, as
BLI_splitdirstring destroys both of its arguments. So, make a local copy
first, like unpackVFont() does.
Otherwise, this seems reasonable. I'd ask Ton on bf-committers after
revising the patch.
| alexander ewering instinctive mediaworks
| xx-mail.com/instinctive http://www.instinctive.de
More information about the Bf-funboard
mailing list