Blender Git Loki

Git Commits -> Revision acd06ae

Revision acd06ae by Ton Roosendaal (master)
November 27, 2005, 20:49 (GMT)
Depsgraph fix for editing linked Objects with the other instances being
in other layers (or hidden with local view).

In my search for the absolute minimum of recalculations, changes are only
flushed when they're visible. On changing layers, the tags then are just
set again (for everything that potentially moves) to ensure proper state.

However, it didn't work proper for linked Mesh objects that changed in
editmode, the Derivedmesh callback then accessed memory out of bounds.

The current dependency code was more designed for animation systems...
updating display data should work too, but might need some more tests!

(Thanks Andrea for clear error sample!)

Commit Details:

Full Hash: acd06aebc1a5f72ff2e97df3ead7afdeffb6d58c
SVN Revision: 5949
Parent Commit: ebb00c1
Lines Changed: +33, -8

4 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+7, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+18, -5) (Diff)
/source/blender/src/header_view3d.c (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021