This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/python/api2_2x
Ken Hughes b8e425af7c Revisions to previous change of new_id().
Note: the intent of the original modification (and these updates) is not to
change how new_id() functions.  What has been done is to pull out the code
which calculates a new name for an ID in the case of duplicate, as would
happen when you copy any datablock, into a separate function.  This code is
necessary in the new Python Library module, since it otherwise is extremely
difficult to locate a new datablock appended from a library.  new_id() calls
this separate function to generate a name for the new ID if necessary, just
as it previously did.

To make the purpose of this new function clearer, I renamed it
check_for_dupid() and added more extensive comments.  I repeat, it's not
meant to be a substitute for new_id().
2007-03-29 04:55:29 +00:00
..
2007-03-27 14:49:37 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 19:44:44 +00:00
2007-01-16 09:18:01 +00:00
2007-03-29 03:47:50 +00:00
2007-03-29 03:47:50 +00:00
2007-03-23 13:12:11 +00:00
2007-03-15 01:47:53 +00:00
2006-12-26 21:12:34 +00:00
2007-03-15 01:47:53 +00:00
2007-03-26 02:10:24 +00:00
2007-03-27 11:37:54 +00:00
2006-05-20 15:44:14 +00:00
2007-03-15 01:47:53 +00:00
2007-03-26 02:10:24 +00:00
2007-03-27 11:37:54 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2007-03-15 01:47:53 +00:00
2006-12-16 23:54:45 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2007-03-15 01:47:53 +00:00
2007-03-29 03:47:50 +00:00
2007-02-25 01:07:28 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2006-05-25 16:45:24 +00:00
2007-03-26 02:10:24 +00:00
2007-03-15 01:47:53 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2006-08-21 14:36:11 +00:00
2007-03-15 01:47:53 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2005-07-18 03:50:37 +00:00
2007-03-26 02:10:24 +00:00
2007-03-26 02:10:24 +00:00
2007-02-25 01:07:28 +00:00
2007-03-26 02:10:24 +00:00
2007-02-26 02:24:04 +00:00
2007-02-21 11:17:17 +00:00
2007-03-26 02:10:24 +00:00