[Bf-committers] Re: [Bf-blender-cvs]
CVS commit: blender/source/blender/blenkernel/intern library.c
Ken Hughes
khughes at pacific.edu
Mon Mar 26 17:30:33 CEST 2007
Joe Eagar wrote:
> Ken Hughes wrote:
>> The purpose for dup_id is to determine if there *is* a name collision
>> that will cause the datablock to be renamed. However, it isn't
>> actually supposed to be called from Python with the new ID in the
>> libblock; if that's being done, then yes it's a bug.
>>
>> I'll check this later; but again, the point is Python side needs a way
>> to know what the datablock will be called after it's inserted into the
>> libblock.
>>
>> Ken
> Maybe there could be a get_id_name_after_creation() function or
> something, that doesn't actually modify data in any way.
> Joe
I'll try approaching from that idea (of course something either has to
be modified, or function would have to return a new string). But will
leave existing ID structures alone.
Ken
More information about the Bf-committers
mailing list