Particles: Remove obsolete code for child particles in edit mode

This commit is contained in:
Sergey Sharybin 2018-06-18 15:13:28 +02:00
parent 55623368b4
commit 0365079676
1 changed files with 0 additions and 12 deletions

View File

@ -4219,18 +4219,6 @@ void particle_system_update(struct Depsgraph *depsgraph, Scene *scene, Object *o
if (!psys_check_enabled(ob, psys, use_render_params))
return;
if (DEG_is_active(depsgraph)) {
if (psys->orig_psys != NULL && psys->orig_psys->edit != NULL) {
psys_cache_edit_paths(
depsgraph,
(Scene *)DEG_get_original_id(&scene->id),
DEG_get_original_object(ob),
psys->orig_psys->edit,
DEG_get_ctime(depsgraph),
DEG_get_mode(depsgraph) == DAG_EVAL_RENDER);
}
}
cfra = DEG_get_ctime(depsgraph);
sim.depsgraph = depsgraph;