Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-10-20 13:07:42 +0300
committerJacques Lucke <jacques@blender.org>2020-10-20 13:07:42 +0300
commit6ced026ae1547ac28c88516a0d061315aeacc913 (patch)
tree60c61867746df72e8cf87efd47d5d27fbbb27109 /source/blender/nodes/intern/node_socket.cc
parent63a9f24b55d0b5d84d625bdbb44d498fb1f2ae01 (diff)
Simulation: remove particle nodes with outdated design
The design for how we approach the "Everything Nodes" project has changed. We will focus on a different part of the project initially. While future me will likely refer back to some of the code I remove here, there is no point in keeping this code around in master currently. It would just confuse other developers working on the project. This does not remove the simulation modifier and data block. Those are just cleaned up, so that the boilerplate code can be reused in the future.
Diffstat (limited to 'source/blender/nodes/intern/node_socket.cc')
-rw-r--r--source/blender/nodes/intern/node_socket.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/source/blender/nodes/intern/node_socket.cc b/source/blender/nodes/intern/node_socket.cc
index 0dfae7424cb..0cedc6597c8 100644
--- a/source/blender/nodes/intern/node_socket.cc
+++ b/source/blender/nodes/intern/node_socket.cc
@@ -549,19 +549,6 @@ static bNodeSocketType *make_socket_type_virtual(void)
return stype;
}
-static bNodeSocketType *make_socket_type_effector(int type)
-{
- bNodeSocketType *stype = make_standard_socket_type(type, PROP_NONE);
- stype->input_link_limit = 0xFFF;
- return stype;
-}
-
-static bNodeSocketType *make_socket_type_control_flow(int type)
-{
- bNodeSocketType *stype = make_standard_socket_type(type, PROP_NONE);
- return stype;
-}
-
static bNodeSocketType *make_socket_type_bool()
{
bNodeSocketType *socktype = make_standard_socket_type(SOCK_BOOLEAN, PROP_NONE);
@@ -721,11 +708,5 @@ void register_standard_node_socket_types(void)
nodeRegisterSocketType(make_standard_socket_type(SOCK_IMAGE, PROP_NONE));
- nodeRegisterSocketType(make_socket_type_effector(SOCK_EMITTERS));
- nodeRegisterSocketType(make_socket_type_effector(SOCK_EVENTS));
- nodeRegisterSocketType(make_socket_type_effector(SOCK_FORCES));
-
- nodeRegisterSocketType(make_socket_type_control_flow(SOCK_CONTROL_FLOW));
-
nodeRegisterSocketType(make_socket_type_virtual());
}