Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/lightprobe.c
| Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | IDTypeInfo IDType_ID_LP = { | ||||
| .foreach_cache = NULL, | .foreach_cache = NULL, | ||||
| .blend_write = lightprobe_blend_write, | .blend_write = lightprobe_blend_write, | ||||
| .blend_read_data = lightprobe_blend_read_data, | .blend_read_data = lightprobe_blend_read_data, | ||||
| .blend_read_lib = lightprobe_blend_read_lib, | .blend_read_lib = lightprobe_blend_read_lib, | ||||
| .blend_read_expand = NULL, | .blend_read_expand = NULL, | ||||
| .blend_read_undo_preserve = NULL, | .blend_read_undo_preserve = NULL, | ||||
| .lib_override_apply_post = NULL, | |||||
| }; | }; | ||||
| void BKE_lightprobe_type_set(LightProbe *probe, const short lightprobe_type) | void BKE_lightprobe_type_set(LightProbe *probe, const short lightprobe_type) | ||||
| { | { | ||||
| probe->type = lightprobe_type; | probe->type = lightprobe_type; | ||||
| switch (probe->type) { | switch (probe->type) { | ||||
| case LIGHTPROBE_TYPE_GRID: | case LIGHTPROBE_TYPE_GRID: | ||||
| Show All 26 Lines | |||||