Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-06-18 16:13:28 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-06-18 16:14:03 +0300
commit036507967694e7858470fcab6eed8e8acf36d2fc (patch)
treea3bafa314cb3f1446de02845c6fb576c2c9fa078 /source/blender/blenkernel/intern/particle_system.c
parent55623368b4ae995b4961b88eb3a3bb73ddc1447d (diff)
Particles: Remove obsolete code for child particles in edit mode
Diffstat (limited to 'source/blender/blenkernel/intern/particle_system.c')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index 6f05e694982..9c6c30143cc 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -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;