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:
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 92e5f34c06f..f27cd7c74e4 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -172,6 +172,7 @@
#include "NOD_socket.h"
#include "BLO_blend_defs.h"
+#include "BLO_blend_validate.h"
#include "BLO_readfile.h"
#include "BLO_undofile.h"
@@ -8873,6 +8874,10 @@ static void lib_link_all(FileData *fd, Main *main)
lib_link_workspaces(fd, main);
lib_link_library(fd, main); /* only init users */
+
+ /* We could integrate that to mesh/curve/lattice lib_link, but this is really cheap process,
+ * so simpler to just use it directly in this single call. */
+ BLO_main_validate_shapekeys(main, NULL);
}
static void direct_link_keymapitem(FileData *fd, wmKeyMapItem *kmi)