Blender Git Loki

Blender Git "id_newid_optional" branch commits.

November 30, 2016, 14:22 (GMT)
Fix crash when accessing id->newid in some cases.

ID->newid was not cleared on reading file, since until now it could be
saved with whatever random value...
November 30, 2016, 13:55 (GMT)
Merge branch 'master' into id_newid_optional
November 22, 2016, 16:00 (GMT)
Merge branch 'master' into 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. :/
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021