Blender Git Loki

Git Commits -> Revision 263f614

Revision 263f614 by Sergey Sharybin (master)
January 16, 2018, 14:09 (GMT)
Add dedicated pointer to an original ID datablock

Before we were re-using newid pointer inside of ID structure where we were
storing pointer to an original datablock.

It seems there is no way we can avoid requirement of having pointer to an
original datablock, so let's stop obusing system which was only designed to
be a runtime only thingie. Will be more safe this way, without need to worry
about using any API which modifies newid.

Commit Details:

Full Hash: 263f61493286cbcfb8ee6b86979d50794e358128
Parent Commit: d4ff1a1
Lines Changed: +10, -6

4 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+3, -4) (Diff)
/source/blender/makesdna/DNA_ID.h (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021