Revert "Fix crash opening really old files with compositor"
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 24 May 2017 13:29:14 +0000 (15:29 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 24 May 2017 13:29:14 +0000 (15:29 +0200)
This commit broke compatibility with newer files: due to rename
of Speed to Vector the links got lost.

This reverts commit 0e46da76b70a42bab2268942cba0e0d3e4ba47e8.

source/blender/blenloader/intern/versioning_270.c

index 008ef4e60cdc36c8342b5bfe20f5fc98be383ae0..06eb631f6696086704d994bc3d12c9c4f42e0160 100644 (file)
@@ -1615,8 +1615,6 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
                                bNode *node;
                                for (node = ntree->nodes.first; node; node = node->next) {
                                        if (node->type == CMP_NODE_R_LAYERS) {
-                                               /* Make sure new sockets are properly created. */
-                                               node_verify_socket_templates(ntree, node);
                                                int pass_index = 0;
                                                const char *sockname;
                                                for (bNodeSocket *sock = node->outputs.first; sock && pass_index < 31; sock = sock->next, pass_index++) {