diff options
author | Hans Goudey <h.goudey@me.com> | 2021-12-07 17:09:30 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-12-07 17:09:30 +0300 |
commit | 2309fa20af416d479fc220d0841483eb3bcf55b0 (patch) | |
tree | 5ece68f40841756e8a2293f926f8f93fcebbe7c5 /source/blender/blenkernel/CMakeLists.txt | |
parent | 6a9775ec6fd38c26e66ca513cf2914d7344b8f51 (diff) |
Cleanup: Add macro and functions for node storage
The `node_storage` functions to retrieve const and mutable structs
from a node are generated by a short macro that can be placed at the
top of each relevant file. I use this in D8286 to make code snippets
in the socket declarations much shorter, but I thought it would be
good to use it consistently everywhere else too.
The functions are also useful to avoid copy and paste errors,
like the one corrected in the cylinder node in this commit.
Differential Revision: https://developer.blender.org/D13491
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions