Bugfix for part 1 of [#30052].
authorJoerg Mueller <nexyon@gmail.com>
Mon, 6 Feb 2012 17:24:51 +0000 (17:24 +0000)
committerJoerg Mueller <nexyon@gmail.com>
Mon, 6 Feb 2012 17:24:51 +0000 (17:24 +0000)
Removed the if, because it's also in the function called.

source/blender/blenloader/intern/readfile.c

index 6bd12e8d3f65df461dfd08415dbc3afdff5367ed..5f737ea4e5315af71dae03f26938a7a318bdf257 100644 (file)
@@ -4769,8 +4769,8 @@ static void lib_link_scene(FileData *fd, Main *main)
                        (void)marker;
 #endif
 
                        (void)marker;
 #endif
 
-                       if(sce->ed)
-                               seq_update_muting(sce->ed);
+                       seq_update_muting(sce->ed);
+                       seq_update_sound_bounds_all(sce);
                        
                        if(sce->nodetree) {
                                lib_link_ntree(fd, &sce->id, sce->nodetree);
                        
                        if(sce->nodetree) {
                                lib_link_ntree(fd, &sce->id, sce->nodetree);