diff options
author | Jacques Lucke <jacques@blender.org> | 2020-04-20 16:27:12 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-04-20 16:27:58 +0300 |
commit | 8dbbac43bb38442e69e8dcd6a02c424ffb7855df (patch) | |
tree | aebca66b6a2b55558030a18bbdc2b50d1ce4e3cc /source/blender/nodes/NOD_static_types.h | |
parent | dcb45992bff2e4ca27a1860b9a34411f23db49a1 (diff) |
Simulations: Add Boolean Math, Switch and Float Compare node UI
Reviewers: brecht
Differential Revision: https://developer.blender.org/D7424
Diffstat (limited to 'source/blender/nodes/NOD_static_types.h')
-rw-r--r-- | source/blender/nodes/NOD_static_types.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/nodes/NOD_static_types.h b/source/blender/nodes/NOD_static_types.h index bf484133afa..d228d92a55c 100644 --- a/source/blender/nodes/NOD_static_types.h +++ b/source/blender/nodes/NOD_static_types.h @@ -271,7 +271,12 @@ DefNode(SimulationNode, SIM_NODE_EMIT_PARTICLES, 0, "EMIT_P DefNode(SimulationNode, SIM_NODE_TIME, def_sim_time, "TIME", Time, "Time", "") DefNode(SimulationNode, SIM_NODE_PARTICLE_ATTRIBUTE, def_sim_particle_attribute, "PARTICLE_ATTRIBUTE", ParticleAttribute, "Particle Attribute", "") +DefNode(FunctionNode, FN_NODE_BOOLEAN_MATH, def_boolean_math, "BOOLEAN_MATH", BooleanMath, "Boolean Math", ""); +DefNode(FunctionNode, FN_NODE_FLOAT_COMPARE, def_float_compare, "FLOAT_COMPARE", FloatCompare, "Float Compare", ""); +DefNode(FunctionNode, FN_NODE_SWITCH, def_fn_switch, "SWITCH", Switch, "Switch", ""); + + /* undefine macros */ #undef DefNode - /* clang-format on */ +/* clang-format on */ |