diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-11-19 16:23:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-11-19 17:55:05 +0300 |
commit | 42b2ae5f694d554b1f4c58acd0afd26516b9ed20 (patch) | |
tree | 8ecbae259cdc8f5801139f522f66e4e077069035 /source/blender/blenkernel/BKE_node.h | |
parent | c5306dd0cdf1f320f7b498d7b914d9374a7aa90f (diff) |
Fix lost node links when linked node group datablock is temporarily missing
Don't refresh the list of sockets, so that when the .blend file is restored the
links remain valid. Also display such nodes in red to indicate an error, same
as when the node type info is missing.
Diffstat (limited to 'source/blender/blenkernel/BKE_node.h')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index e3591b8fcd1..e6fb9d86b0a 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -501,7 +501,7 @@ void ntreeInterfaceTypeUpdate(struct bNodeTree *ntree); struct bNodeType *nodeTypeFind(const char *idname); void nodeRegisterType(struct bNodeType *ntype); void nodeUnregisterType(struct bNodeType *ntype); -bool nodeIsRegistered(struct bNode *node); +bool nodeTypeUndefined(struct bNode *node); struct GHashIterator *nodeTypeGetIterator(void); /* helper macros for iterating over node types */ |