Blender Git Loki

Git Commits -> Revision bbb1c0a

Revision bbb1c0a by Sergey Sharybin (master)
July 24, 2017, 12:50 (GMT)
Render preview: Always make sure all ID datablocks references by objects are in bmain

Otherwise we'll have confused dependency graph builder, which wouldn't be able to
build proper graph.

Didn't find a way to avoid world copy here, we can probably escape with some shallow
copy here, but that will currently complicate code a lot.

Ideas to consider here:

- Use shallow copy of existing world after new ID management API is in place.

Downside would be thread safety, kind of nice to have everything local.

- Switch depsgraph away from ID_TAG and do hash lookup or so.

This will slow down depsgraph builder, but will make code more reliable.

Commit Details:

Full Hash: bbb1c0a077eaee74f0a3d6872e8513f756bc65a6
Parent Commit: 4fd3582
Lines Changed: +15, -4

1 Modified Path:

/source/blender/editors/render/render_preview.c (+15, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021