Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/lib_query.c
| Show First 20 Lines • Show All 407 Lines • ▼ Show 20 Lines | switch ((ID_Type)id_type_owner) { | ||||
| case ID_HA: | case ID_HA: | ||||
| return ELEM(id_type_used, ID_MA); | return ELEM(id_type_used, ID_MA); | ||||
| case ID_PT: | case ID_PT: | ||||
| return ELEM(id_type_used, ID_MA); | return ELEM(id_type_used, ID_MA); | ||||
| case ID_VO: | case ID_VO: | ||||
| return ELEM(id_type_used, ID_MA); | return ELEM(id_type_used, ID_MA); | ||||
| case ID_SIM: | case ID_SIM: | ||||
| return ELEM(id_type_used, ID_OB, ID_IM); | return ELEM(id_type_used, ID_OB, ID_IM); | ||||
| case ID_WM: | |||||
| return ELEM(id_type_used, ID_SCE); | |||||
mont29: Looks like windows can also link to workspaces... | |||||
| case ID_IM: | case ID_IM: | ||||
| case ID_VF: | case ID_VF: | ||||
| case ID_TXT: | case ID_TXT: | ||||
| case ID_SO: | case ID_SO: | ||||
| case ID_AR: | case ID_AR: | ||||
| case ID_AC: | case ID_AC: | ||||
| case ID_WM: | |||||
| case ID_PAL: | case ID_PAL: | ||||
| case ID_PC: | case ID_PC: | ||||
| case ID_CF: | case ID_CF: | ||||
| /* Those types never use/reference other IDs... */ | /* Those types never use/reference other IDs... */ | ||||
| return false; | return false; | ||||
| case ID_IP: | case ID_IP: | ||||
| /* Deprecated... */ | /* Deprecated... */ | ||||
| return false; | return false; | ||||
| ▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines | |||||
Looks like windows can also link to workspaces...