Blender Git Loki

Git Commits -> Revision a5ca6d7

May 25, 2018, 18:59 (GMT)
Hacky code just to try RNA_struct_dynamic_override_apply

It is crashing now, I tried either adding a scene setting (EEVEE AO), or
object settings (ob.color).

This also shows a few problems:
* We can't simply tag Scene to update when changing an override set, we need
the tagging to flush down to the scene objects.

* For scene settings we may want to do at this moment in COW evaluation, however
for objects the implementation is a bit more tricky. Because we need to change
the data owned by the object as well. For example, the material.

* In this case it is almost as if we want a cow-cow ID (the OVERRIDEN id should be
shared by all the objects that are being overridden.

* Also the affected collections thing is to be handled somehow.

Commit Details:

Full Hash: a5ca6d752e34db889aa550dc61af159ce7ece5dd
Parent Commit: e6128bd
Lines Changed: +64, -0

3 Modified Paths:

/source/blender/blenkernel/BKE_layer.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/layer.c (+56, -0) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021