Make version_update() callback being invoked when linking/appending datablocks
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 13 Jan 2015 13:24:53 +0000 (18:24 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 13 Jan 2015 13:24:53 +0000 (18:24 +0500)
commitfbc2909cef83bce722fab8c68e49c878603b4ee8
tree7750f62b3b54500a91ac36cea41cc874db3a024a
parent117edbbf881be1764db852d9805c523590a19f84
Make version_update() callback being invoked when linking/appending datablocks

This way addons and render engines which needs to do versioning code on files will properly
do it when something is being linked or appended to the scene. Previously that callback was
only called for the local main only, making it impossible to do tweaks on linking.
source/blender/blenloader/intern/readfile.c
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_init_exit.c