diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-02-12 21:17:19 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-02-12 21:17:19 +0300 |
commit | 9aae62a59b2e8cfbf476a33e99ac1966b96e2bc9 (patch) | |
tree | 86493d97863577431d3662863a9377a0022c35af /source/blender/editors/physics/particle_edit.c | |
parent | 80cecee5b7c81feb1e2a5e56cbfed66981124265 (diff) |
Particles: remove unused sel_col and nosel_col from
CacheEditrPathsIterData and PTCacheEdit
Followup to 80cecee5b7c8.
ref D6725
Diffstat (limited to 'source/blender/editors/physics/particle_edit.c')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 02842f87700..ca13133662f 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -5188,15 +5188,6 @@ void PE_create_particle_edit( psys = NULL; } - /* Causes assert on startup. */ -#if 0 - /* These are unused and can be removed. */ - UI_GetThemeColor3ubv(TH_VERTEX_SELECT, edit->sel_col); - UI_GetThemeColor3ubv(TH_WIRE, edit->nosel_col); -#else - memset(edit->sel_col, 0xff, sizeof(edit->sel_col)); - memset(edit->nosel_col, 0x00, sizeof(edit->nosel_col)); -#endif recalc_lengths(edit); if (psys && !cache) { recalc_emitter_field(depsgraph, ob, psys); |