Blender Git Commit Log

Git Commits -> Revision b44e6f2

Revision b44e6f2 by Bastien Montagne (master)
November 14, 2018, 16:07 (GMT)
Fix T57760: Depsgraph 'object_instances' showing incorrect list of objects.

It appears that Python gets next item before using current one, which
would break our Depsgraph instance iterator (since only current item is
valid there, we use the same memory at each iteration).

Working around that with an ugly ping-pong game between two sets of
iterator data, so that previous one (C RNA-iterator-wise) remains valid
memory for Python to access to.

Commit Details:

Full Hash: b44e6f2b3d32e604c3030eaf61b15e0e2a20d520
Parent Commit: d2dd278
Lines Changed: +32, -11

1 Modified Path:

/source/blender/makesrna/intern/rna_depsgraph.c (+32, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021