Fix T44350: View3D layer out of sync /w scene

This commit is contained in:
Campbell Barton 2015-04-13 23:10:43 +10:00
parent 41350a91b5
commit 17a9b05b9d
Notes: blender-bot 2023-02-14 09:15:32 +01:00
Referenced by issue #44350, Object of invisible layer is displayed by a view.
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ static void setup_app_data(bContext *C, BlendFileData *bfd, const char *filepath
if (wm_scene_is_visible(wm, bfd->curscene) == false) {
curscene = bfd->curscene;
curscreen->scene = curscene;
BKE_screen_view3d_scene_sync(curscreen);
}
}
}