Simulation: Add modifier to access simulation data
For now the "Simulation" modifier only exists for point cloud objects, because we need this for the particle system. Right now, the modifier is doing nothing. There is a new `DEG_add_simulation_relation` function that is used by the modifier to make sure that the simulation is evaluated before the modifier is executed. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D7549
This commit is contained in:
@@ -23,9 +23,12 @@ extern "C" {
|
||||
|
||||
struct Main;
|
||||
struct Simulation;
|
||||
struct Depsgraph;
|
||||
|
||||
void *BKE_simulation_add(struct Main *bmain, const char *name);
|
||||
|
||||
void BKE_simulation_data_update(struct Depsgraph *depsgraph, struct Scene *scene);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user