Merging r47581 through r47603 from trunk into soc-2011-tomato
[blender.git] / source / blender / blenloader / intern / readfile.c
index b1a3150ff249d1da564e54c3b62080abf8e02059..a36645510c3d6540d4cb60c5f6036053293cdbd3 100644 (file)
@@ -4828,6 +4828,10 @@ static void lib_link_scene(FileData *fd, Main *main)
                                        seq->clip = newlibadr(fd, sce->id.lib, seq->clip);
                                        seq->clip->id.us++;
                                }
+                               if (seq->mask) {
+                                       seq->mask = newlibadr(fd, sce->id.lib, seq->mask);
+                                       seq->mask->id.us++;
+                               }
                                if (seq->scene_camera) seq->scene_camera = newlibadr(fd, sce->id.lib, seq->scene_camera);
                                if (seq->sound) {
                                        seq->scene_sound = NULL;