Blender Git Loki

Git Commits -> Revision 9984dd3

Revision 9984dd3 by Bastien Montagne (master)
December 20, 2019, 13:29 (GMT)
ID Management: Add some basic tests regarding name handling.

Those tests are here mostsly to ensure ID name management is working as
expected (the code ensuring we never have two ilocal data-blocks of the
same type with the same name in a .blend file).

Note: Currently fails in some cases, fixes are incoming.

Note: Ideally this would be in C, but we already have too many tests
linking the whole Blender and its libraries, this is becoming a real
pain to link debug + ASAN + tests build these days... So until we find a
better way to handle those dependencies, sticking to simple python
scripts.

Commit Details:

Full Hash: 9984dd332f77a66def0ad23d71f729570a93dcbe
Parent Commit: 9a1bbca
Lines Changed: +192, -0

1 Added Path:

/tests/python/bl_id_management.py (+184, -0) (View)

1 Modified Path:

/tests/python/CMakeLists.txt (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021