33 object->set_hide_on_missing_motion(
true);
43 if (persistent_id[0] >= b_psys->
totpart) {
48 const ParticleSystemKey key(&b_parent, persistent_id);
51 const bool first_use = !particle_system_map.is_used(key);
52 const bool need_update = particle_system_map.add_or_update(&psys, &b_parent.
id, &b_ob.
id, key);
55 if (!need_update && !object->get_geometry()->
is_modified() &&
56 !scene->object_manager->need_update())
68 blender::ParticleData &b_pa = b_psys->
particles[persistent_id[0]];
71 pa.
index = persistent_id[0];
83 object->set_particle_system(psys);
86 if (object->particle_index_is_modified()) {
array< Particle > particles
void tag_update(Scene *scene)
void push_back_slow(const T &t)
#define CCL_NAMESPACE_END
float BKE_scene_frame_to_ctime(const Scene *scene, int frame)
DupliObject * dupli_object_current
int persistent_id[MAX_DUPLI_RECUR]
ParticleSystem * particle_system