[Bf-blender-cvs] [03650796769] blender2.8: Particles: Remove obsolete code for child particles in edit mode
Sergey Sharybin
noreply at git.blender.org
Mon Jun 18 15:18:07 CEST 2018
Commit: 036507967694e7858470fcab6eed8e8acf36d2fc
Author: Sergey Sharybin
Date: Mon Jun 18 15:13:28 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB036507967694e7858470fcab6eed8e8acf36d2fc
Particles: Remove obsolete code for child particles in edit mode
===================================================================
M source/blender/blenkernel/intern/particle_system.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list