From 7b9fb3259157cea2df5e7b461d04f55cfa380031 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 8 Apr 2018 09:28:52 +0200 Subject: Python API: remove preview/render resolution settings from API functions. For correct results these must have been set already when the depsgraph was created and evaluated, so all dependencies have appropriate resolutions too. For particle we no longer backup and restore the viewport particles to avoid overwriting them during render, as copy-on-write solves this for us. Even without COW particles seem to work ok. This also removes the particle simplification options based on camera. This was never used much and only available in Blender Internal. Differential Revision: https://developer.blender.org/D3148 --- source/blender/makesdna/DNA_particle_types.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source/blender/makesdna/DNA_particle_types.h') diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h index 5f86ec31d0b..2c330501820 100644 --- a/source/blender/makesdna/DNA_particle_types.h +++ b/source/blender/makesdna/DNA_particle_types.h @@ -188,11 +188,6 @@ typedef struct ParticleSettings { /* draw color */ float color_vec_max; - /* simplification */ - short simplify_flag, simplify_refsize; - float simplify_rate, simplify_transition; - float simplify_viewport; - /* time and emission */ float sta, end, lifetime, randlife; float timetweak, courant_target; @@ -313,9 +308,6 @@ typedef struct ParticleSystem { short vgroup[13], vg_neg, rt3; /* vertex groups, 0==disable, 1==starting index */ char pad[6]; - /* temporary storage during render */ - struct ParticleRenderData *renderdata; - /* point cache */ struct PointCache *pointcache; struct ListBase ptcaches; -- cgit v1.2.3