Fix T44350: View3D layer out of sync /w scene
This commit is contained in:
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.
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue