Blender Git Loki

Git Commits -> Revision 49c100e

Revision 49c100e by Bastien Montagne (master)
February 18, 2019, 13:36 (GMT)
API doc: info_gotcha: extend description of issues related to memory changes.

* Added a TL;DR first paragraph summarizing that one shall not keep any
reference to Blender data when modifying its container.

* Added some info about fact that adding items to some data containers
(like Collection) can also invalidate existing items (due to array
re-allocation).

* Added a Do/Don't example which shows a crash after adding some items
to a collection.

Related to T61297.

Commit Details:

Full Hash: 49c100e56c5a093c514bf5d6851b45f22a36f85f
Parent Commit: 9299073
Lines Changed: +60, -1

1 Modified Path:

/doc/python_api/rst/info_gotcha.rst (+60, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021