diff options
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 19023b26bdf..3413f30b9d8 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -103,8 +103,6 @@ #include "DNA_movieclip_types.h" #include "DNA_mask_types.h" -#include "RNA_access.h" - #include "MEM_guardedalloc.h" #include "BLI_endian_switch.h" @@ -6580,10 +6578,6 @@ static void lib_link_screen(FileData *fd, Main *main) slogic->gpd = newlibadr_us(fd, sc->id.lib, slogic->gpd); } - else if (sl->spacetype == SPACE_COLLECTIONS) { - SpaceCollections *slayer = (SpaceCollections *)sl; - slayer->flag |= SC_COLLECTION_DATA_REFRESH; - } } } sc->id.tag &= ~LIB_TAG_NEED_LINK; @@ -6969,10 +6963,6 @@ void blo_lib_link_screen_restore(Main *newmain, bScreen *curscreen, Scene *cursc slogic->gpd = restore_pointer_by_name(id_map, (ID *)slogic->gpd, USER_REAL); } - else if (sl->spacetype == SPACE_COLLECTIONS) { - SpaceCollections *slayer = (SpaceCollections *)sl; - slayer->flag |= SC_COLLECTION_DATA_REFRESH; - } } } } @@ -7367,10 +7357,6 @@ static bool direct_link_screen(FileData *fd, bScreen *sc) sclip->scopes.track_preview = NULL; sclip->scopes.ok = 0; } - else if (sl->spacetype == SPACE_COLLECTIONS) { - SpaceCollections *slayer = (SpaceCollections *)sl; - slayer->flag |= SC_COLLECTION_DATA_REFRESH; - } } BLI_listbase_clear(&sa->actionzones); |