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:
authorCampbell Barton <ideasman42@gmail.com>2012-07-27 17:24:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-27 17:24:08 +0400
commitd623454d2e7823f3d11e38a6aad091736b2ca9d1 (patch)
tree42f42e9786f6c9751717204db5f83c918e4e59fb /source/blender/blenloader
parentbef3be53263eea3c083931447070a209bcf74df6 (diff)
add missing image/mask restore call when undo'ing
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index a0529271666..7e7561d58af 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5598,6 +5598,7 @@ void lib_link_screen_restore(Main *newmain, bScreen *curscreen, Scene *curscene)
* so assume that here we're doing for undo only...
*/
sima->gpd = restore_pointer_by_name(newmain, (ID *)sima->gpd, 1);
+ sima->mask_info.mask = restore_pointer_by_name(newmain, (ID *)sima->mask_info.mask, 1);
}
else if (sl->spacetype == SPACE_SEQ) {
SpaceSeq *sseq = (SpaceSeq *)sl;