From 1978066e041424db82613cd0ba4c6a928fa878d8 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 20 Apr 2019 20:25:20 +0200 Subject: Nodes: better integrate node init and versioning in file reading Node versioning code was added before there was a mechanism to do versioning after lib linking. Now integrate with that system and make it less of a strange exception. Node versioning is now skipped on undo, like other versioning code. --- source/blender/makesdna/DNA_node_types.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender/makesdna/DNA_node_types.h') diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 4bdb348c74f..35803486859 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -510,17 +510,6 @@ typedef struct bNodeTree { /* tree is localized copy, free when deleting node groups */ /* #define NTREE_IS_LOCALIZED (1 << 5) */ -/* XXX not nice, but needed as a temporary flags - * for group updates after library linking. - */ - -/* changes from r35033 */ -#define NTREE_DO_VERSIONS_GROUP_EXPOSE_2_56_2 (1 << 10) -/* custom_nodes branch: remove links to node tree sockets */ -#define NTREE_DO_VERSIONS_CUSTOMNODES_GROUP (1 << 11) -/* custom_nodes branch: create group input/output nodes */ -#define NTREE_DO_VERSIONS_CUSTOMNODES_GROUP_CREATE_INTERFACE (1 << 12) - /* ntree->update */ typedef enum eNodeTreeUpdate { NTREE_UPDATE = 0xFFFF, /* generic update flag (includes all others) */ -- cgit v1.2.3