Blender Git Statistics -> Branches -> temp-runtime-node-def
"Temp-runtime-node-def" branch
Total commits : 4
Total committers : 1
First Commit : August 22, 2021
Latest Commit : August 26, 2021
Commits by Date
Date | Number of Commits | |
---|---|---|
August 26, 2021 | 1 | |
August 25, 2021 | 1 | |
August 24, 2021 | 0 | |
August 23, 2021 | 1 | |
August 22, 2021 | 1 |
Committers
Author | Number of Commits |
---|---|
Lukas Toenne | 4 |
Popular Files
Filename | Total Edits |
---|---|
node_geometry_util.hh | 2 |
NOD_runtime_types.hh | 2 |
node_geo_mesh_primitive_ellipse.cc | 2 |
node_runtime_types.cc | 2 |
DNA_node_types.h | 2 |
NOD_geometry_exec.hh | 1 |
node.cc | 1 |
node_geometry_util.cc | 1 |
nodeitems_builtins.py | 1 |
CMakeLists.txt | 1 |
Latest commits
August 26, 2021, 08:59 (GMT) |
Simplified runtime node type definition. |
August 25, 2021, 06:55 (GMT) |
Merge branch 'master' into temp-runtime-node-def |
August 23, 2021, 08:10 (GMT) |
Revert cleanup changes to node DNA. This was used a some point to get a clear type for the node flags enum, but isn't a necessary change right now. Node DNA cleanup should be done in a separate patch. |
August 22, 2021, 16:05 (GMT) |
Utility classes for compact node definitions in C++. Node definitions in C++ are currently spread out over a large number of files all over the code base (nodes, DNA, RNA, UI). By contrast, python nodes are very compact and can be added much more easily. To make node definitions in C++ more convenient, this patch adds some utility functions that allow defining type properties and callbacks of a node in a single file. The NodeDefinition template takes a struct (which should usually also be a child class of the template) and finds static fields and functions of the template argument to use for the node type. The "Mesh Primitive Ellipse" node has been added as an example case, it may not end up being used. Other existing node types are unaffected, this patch only provides alternative ways to define a node. Known limitations: - Only ID properties can be added in the node source files without additional DNA structs. This should be sufficient for the vast majority of nodes, but can be augmented with conventional DNA structs in node->storage if necessary. - Runtime node definitions are identified only by their idname, they do not have a fixed integer type. This has to be taken into account for versioning. - Sockets are currently added in the init function. The "template" system is not supported and a better alternative should be added eventually. |
MiikaHweb - Blender Git Statistics v1.06