Blender Git Commit Log

Git Commits -> Revision d44e45c

Revision d44e45c by Bastien Montagne (id_newid_optional)
November 22, 2016, 11:24 (GMT)
Cleanup id->newid usage, initial work.

This aims at always ensuring that ID.newid (and relevant LIB_TAG_NEW)
stay in clean (i.e. cleared) state by default.

To achieve this, instead of clearing after all id copy call (would be
horribly noisy, and bad for performances), we try to completely remove
the setting of id->newid by default when copying a new ID.

This implies that areas actually needing that info (mainly, object editing
area (make single user...) and make local area) have to ensure they set
it themselves as needed.

This is far from simple change, many complex code paths to consider, so
will need some serious testing. :/

Commit Details:

Full Hash: d44e45c42612a6fbe8dddbbd39a437177e6befb0
Parent Commit: 1be717d
Lines Changed: +179, -145

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021