diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-20 13:16:16 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-20 13:27:26 +0300 |
commit | fd48e685c3077b781d8b81b8d5048c49d2ad5091 (patch) | |
tree | b6323c562ddac40bfb0f00ae3307a8fa9cf21368 /extern | |
parent | d4519f54b30171ee3a0e38901ffb291ab4d87cae (diff) |
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!
Diffstat (limited to 'extern')
0 files changed, 0 insertions, 0 deletions