Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/texture.c
| Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | IDTypeInfo IDType_ID_TE = { | ||||
| .foreach_cache = NULL, | .foreach_cache = NULL, | ||||
| .blend_write = texture_blend_write, | .blend_write = texture_blend_write, | ||||
| .blend_read_data = texture_blend_read_data, | .blend_read_data = texture_blend_read_data, | ||||
| .blend_read_lib = texture_blend_read_lib, | .blend_read_lib = texture_blend_read_lib, | ||||
| .blend_read_expand = texture_blend_read_expand, | .blend_read_expand = texture_blend_read_expand, | ||||
| .blend_read_undo_preserve = NULL, | .blend_read_undo_preserve = NULL, | ||||
| .lib_override_apply_post = NULL, | |||||
| }; | }; | ||||
| /* Utils for all IDs using those texture slots. */ | /* Utils for all IDs using those texture slots. */ | ||||
| void BKE_texture_mtex_foreach_id(LibraryForeachIDData *data, MTex *mtex) | void BKE_texture_mtex_foreach_id(LibraryForeachIDData *data, MTex *mtex) | ||||
| { | { | ||||
| BKE_LIB_FOREACHID_PROCESS(data, mtex->object, IDWALK_CB_NOP); | BKE_LIB_FOREACHID_PROCESS(data, mtex->object, IDWALK_CB_NOP); | ||||
| BKE_LIB_FOREACHID_PROCESS(data, mtex->tex, IDWALK_CB_USER); | BKE_LIB_FOREACHID_PROCESS(data, mtex->tex, IDWALK_CB_USER); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 544 Lines • Show Last 20 Lines | |||||