Blender Git Loki

Git Commits -> Revision f48828b

Revision f48828b by Sergey Sharybin (master)
March 24, 2014, 09:10 (GMT)
Fix T39318: Blender 2.70 crash when I link an asset

Issue is a regression since threaded objetc update and caused
by the fact that some objects might share the same proxy object.

It's all fine but object_handle_update() will call update for
a proxy object which screws up threaded update.

The thing is, proxy object is marked as depending on a scene
object and such a call makes it so the children objetc is
being updated.

This is really bad and depsgraph is to take all responsibility
on updating the proxy objects.

So for now used a simple solution (which is safe to backport
to 'a') which is skipping proxy update if the scene update is
threaded and based on the DAG traversal.

There are some still areas which calls object update directly
and for that cases proxy object is still being updated from
object_handle_update().

Commit Details:

Full Hash: f48828b64e480b6f16c21f660d3d6212648d56d7
Parent Commit: b69809c
Lines Changed: +15, -9

3 Modified Paths:

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