Fix: window manager can reference scenes and workspaces

This also fixes T83592 for me.

Differential Revision: https://developer.blender.org/D10046
This commit is contained in:
Jacques Lucke 2021-02-04 11:31:01 +01:00
parent 4895d1f9ce
commit dff51d418a
Notes: blender-bot 2023-02-14 06:00:51 +01:00
Referenced by issue #83592, Crash on linked scene reload while this scene is active
1 changed files with 2 additions and 1 deletions

View File

@ -416,13 +416,14 @@ bool BKE_library_id_can_use_idtype(ID *id_owner, const short id_type_used)
return ELEM(id_type_used, ID_MA);
case ID_SIM:
return ELEM(id_type_used, ID_OB, ID_IM);
case ID_WM:
return ELEM(id_type_used, ID_SCE, ID_WS);
case ID_IM:
case ID_VF:
case ID_TXT:
case ID_SO:
case ID_AR:
case ID_AC:
case ID_WM:
case ID_PAL:
case ID_PC:
case ID_CF: