Blender Git Loki

Git Commits -> Revision d03e768

Revision d03e768 by Sergey Sharybin (master)
January 17, 2014, 12:57 (GMT)
Fix T38260: Missing object update with two visible scenes

It was an issue with early object update check which was
screwing up for second scene because of first one reset
ID recalc flags.

From the comment in the code about this:

We need to check all visible scenes, otherwise resetting
OB_ID changed flag will only work fine for first scene of
multiple visible and all the rest will skip update.

This could also lead to wrong behavior scene update handlers
because of missing ID datablock changed flags.

This is a bit of a bummer to allocate list here, but likely
it wouldn't become too much bad because it only happens when
objects were actually changed.

Commit Details:

Full Hash: d03e7687613ff288e027198ac58df59cd9f1677e
Parent Commit: eb1bb9d
Lines Changed: +35, -11

3 Modified Paths:

/source/blender/blenkernel/BKE_depsgraph.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+32, -8) (Diff)
/source/blender/blenkernel/intern/scene.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021