Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/simulation.cc
| Show First 20 Lines • Show All 167 Lines • ▼ Show 20 Lines | IDTypeInfo IDType_ID_SIM = { | ||||
| /* foreach_cache */ nullptr, | /* foreach_cache */ nullptr, | ||||
| /* blend_write */ simulation_blend_write, | /* blend_write */ simulation_blend_write, | ||||
| /* blend_read_data */ simulation_blend_read_data, | /* blend_read_data */ simulation_blend_read_data, | ||||
| /* blend_read_lib */ simulation_blend_read_lib, | /* blend_read_lib */ simulation_blend_read_lib, | ||||
| /* blend_read_expand */ simulation_blend_read_expand, | /* blend_read_expand */ simulation_blend_read_expand, | ||||
| /* blend_read_undo_preserve */ nullptr, | /* blend_read_undo_preserve */ nullptr, | ||||
| /* lib_override_apply_post */ nullptr, | |||||
| }; | }; | ||||
| void *BKE_simulation_add(Main *bmain, const char *name) | void *BKE_simulation_add(Main *bmain, const char *name) | ||||
| { | { | ||||
| Simulation *simulation = (Simulation *)BKE_id_new(bmain, ID_SIM, name); | Simulation *simulation = (Simulation *)BKE_id_new(bmain, ID_SIM, name); | ||||
| return simulation; | return simulation; | ||||
| } | } | ||||
| void BKE_simulation_data_update(Depsgraph *UNUSED(depsgraph), | void BKE_simulation_data_update(Depsgraph *UNUSED(depsgraph), | ||||
| Scene *UNUSED(scene), | Scene *UNUSED(scene), | ||||
| Simulation *UNUSED(simulation)) | Simulation *UNUSED(simulation)) | ||||
| { | { | ||||
| } | } | ||||