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:
authorBastien Montagne <montagne29@wanadoo.fr>2019-01-25 19:42:43 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-01-25 19:46:09 +0300
commitda6bda64839e91dea4e6a7c144f8ae30e2d9076b (patch)
tree6b046a55002674067219a30a70581eed3f48e685 /source/blender/blenloader/BLO_blend_validate.h
parenta42441d1451e9b89120dff0039aa09f122369ebe (diff)
Fix T60783: (Certain) shapekeys stopped working in 2.8.
This commit adds another optional check (when `--debug-io` is set) on write .blend process, to check and ensure all shape keys have their 'from' pointer properly set to their respective user ID. This is intended to be used as debuging tool mostly (to try to detect when/why some of those pointers can become NULL). For now, it also systematically perform same checks/fixes when loading a .blend file, to fix all broken ones laying around. Later we might move that usage to a do_version instead, but for now think it's safer to always perfom it (and it's rather cheap process anyway).
Diffstat (limited to 'source/blender/blenloader/BLO_blend_validate.h')
-rw-r--r--source/blender/blenloader/BLO_blend_validate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_blend_validate.h b/source/blender/blenloader/BLO_blend_validate.h
index f9731e19475..42317c1128c 100644
--- a/source/blender/blenloader/BLO_blend_validate.h
+++ b/source/blender/blenloader/BLO_blend_validate.h
@@ -37,5 +37,6 @@ struct Main;
struct ReportList;
bool BLO_main_validate_libraries(struct Main *bmain, struct ReportList *reports);
+bool BLO_main_validate_shapekeys(struct Main *bmain, struct ReportList *reports);
#endif