Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/icons.cc
| Context not available. | |||||
| #include "DNA_screen_types.h" | #include "DNA_screen_types.h" | ||||
| #include "DNA_texture_types.h" | #include "DNA_texture_types.h" | ||||
| #include "DNA_world_types.h" | #include "DNA_world_types.h" | ||||
| #include "DNA_movieclip_types.h" | |||||
| #include "BLI_fileops.h" | #include "BLI_fileops.h" | ||||
| #include "BLI_ghash.h" | #include "BLI_ghash.h" | ||||
| Context not available. | |||||
| ID_PRV_CASE(ID_WO, World); | ID_PRV_CASE(ID_WO, World); | ||||
| ID_PRV_CASE(ID_LA, Light); | ID_PRV_CASE(ID_LA, Light); | ||||
| ID_PRV_CASE(ID_IM, Image); | ID_PRV_CASE(ID_IM, Image); | ||||
| ID_PRV_CASE(ID_MC, MovieClip); | |||||
| ID_PRV_CASE(ID_BR, Brush); | ID_PRV_CASE(ID_BR, Brush); | ||||
| ID_PRV_CASE(ID_GR, Collection); | ID_PRV_CASE(ID_GR, Collection); | ||||
| ID_PRV_CASE(ID_SCE, Scene); | ID_PRV_CASE(ID_SCE, Scene); | ||||
| Context not available. | |||||
| bool BKE_previewimg_id_supports_jobs(const ID *id) | bool BKE_previewimg_id_supports_jobs(const ID *id) | ||||
| { | { | ||||
| return ELEM(GS(id->name), ID_OB, ID_MA, ID_TE, ID_LA, ID_WO, ID_IM, ID_BR); | return ELEM(GS(id->name), ID_OB, ID_MA, ID_TE, ID_LA, ID_WO, ID_IM, ID_MC, ID_BR); | ||||
| } | } | ||||
| void BKE_previewimg_deferred_release(PreviewImage *prv) | void BKE_previewimg_deferred_release(PreviewImage *prv) | ||||
| Context not available. | |||||