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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-05 20:18:43 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-06 21:22:03 +0300
commitaed09d43295de3dcba3d318345a4fd1396a16ea1 (patch)
tree6f77a630bd51ed454def58cacffb7bbb286db594 /source/blender/blenkernel/intern/node.c
parent74fd17e9d788394fa5bf781bb3e60bca7617b22c (diff)
Cleanup: remove unused shader node compatibility flag.
No longer needed after Blender Internal removal and Eevee replacing the Cycles GLSL shading nodes.
Diffstat (limited to 'source/blender/blenkernel/intern/node.c')
-rw-r--r--source/blender/blenkernel/intern/node.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c
index f7cd2bd52dc..7aa0ecdad87 100644
--- a/source/blender/blenkernel/intern/node.c
+++ b/source/blender/blenkernel/intern/node.c
@@ -3333,11 +3333,6 @@ void node_type_internal_links(bNodeType *ntype, void (*update_internal_links)(bN
ntype->update_internal_links = update_internal_links;
}
-void node_type_compatibility(struct bNodeType *ntype, short compatibility)
-{
- ntype->compatibility = compatibility;
-}
-
/* callbacks for undefined types */
static bool node_undefined_poll(bNodeType *UNUSED(ntype), bNodeTree *UNUSED(nodetree))