english Sivu saatavilla vain englanninkielisenä.

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

DateNumber of Commits
August 26, 20211
August 25, 20211
August 24, 20210
August 23, 20211
August 22, 20211

Committers

AuthorNumber of Commits
Lukas Toenne4

Popular Files

FilenameTotal Edits
node_geometry_util.hh2
NOD_runtime_types.hh2
node_geo_mesh_primitive_ellipse.cc2
node_runtime_types.cc2
DNA_node_types.h2
NOD_geometry_exec.hh1
node.cc1
node_geometry_util.cc1
nodeitems_builtins.py1
CMakeLists.txt1

Latest commits Feed

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
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021