[Bf-funboard] Pack/Unpack for moving projects

Campbell Barton cbarton at metavr.com
Fri Dec 22 00:18:17 CET 2006


Talked to Ton and he made the change.
we may need to ad some way of dealing with duplicate filenames.

Alexander Ewering wrote:
>
> 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
> _______________________________________________
> Bf-funboard mailing list
> Bf-funboard at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-funboard
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-funboard mailing list