Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/lib_query.c
| Show First 20 Lines • Show All 433 Lines • ▼ Show 20 Lines | case ID_MA: | ||||
| return (ELEM(id_type_used, ID_TE, ID_GR)); | return (ELEM(id_type_used, ID_TE, ID_GR)); | ||||
| case ID_TE: | case ID_TE: | ||||
| return (ELEM(id_type_used, ID_IM, ID_OB)); | return (ELEM(id_type_used, ID_IM, ID_OB)); | ||||
| case ID_LT: | case ID_LT: | ||||
| return ELEM(id_type_used, ID_KE); | return ELEM(id_type_used, ID_KE); | ||||
| case ID_LA: | case ID_LA: | ||||
| return (ELEM(id_type_used, ID_TE)); | return (ELEM(id_type_used, ID_TE)); | ||||
| case ID_CA: | case ID_CA: | ||||
| return ELEM(id_type_used, ID_OB); | return ELEM(id_type_used, ID_OB, ID_IM); | ||||
| case ID_KE: | case ID_KE: | ||||
| /* Warning! key->from, could be more types in future? */ | /* Warning! key->from, could be more types in future? */ | ||||
| return ELEM(id_type_used, ID_ME, ID_CU, ID_LT); | return ELEM(id_type_used, ID_ME, ID_CU, ID_LT); | ||||
| case ID_SCR: | case ID_SCR: | ||||
| return ELEM(id_type_used, ID_SCE); | return ELEM(id_type_used, ID_SCE); | ||||
| case ID_WO: | case ID_WO: | ||||
| return (ELEM(id_type_used, ID_TE)); | return (ELEM(id_type_used, ID_TE)); | ||||
| case ID_SPK: | case ID_SPK: | ||||
| ▲ Show 20 Lines • Show All 387 Lines • Show Last 20 Lines | |||||