[Bf-committers] Re: [Bf-blender-cvs] CVS commit:
blender/source/blender/blenkernel/intern library.c
Joe Eagar
joeedh at gmail.com
Mon Mar 26 17:09:08 CEST 2007
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
More information about the Bf-committers
mailing list