Blender Git Loki

Git Commits -> Revision fd48e68

Revision fd48e68 by Bastien Montagne (master)
June 20, 2018, 10:27 (GMT)
Cleanup: remove some G.main from BKE's node.c

Validate some cases using G_MAIN instead (I don't think we want to work
on any other Main than G.main one when registering/unregistering nodes
etc.).

And when freeing, all ID not in Main shall now be tagged accordingly, so
we *should* not need to do that stupi search over all ntrees in G.main
to check wether we have to free it ourself or not!

Commit Details:

Full Hash: fd48e685c3077b781d8b81b8d5048c49d2ad5091
Parent Commit: d4519f5
Lines Changed: +21, -12

1 Modified Path:

/source/blender/blenkernel/intern/node.c (+21, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021