diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-01-31 15:02:20 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-02-12 21:03:28 +0300 |
commit | 80cecee5b7c81feb1e2a5e56cbfed66981124265 (patch) | |
tree | 500f6eba0722527d14fd1385fbf2b8b9b7c14429 /source/blender/editors/physics/particle_edit.c | |
parent | 5527cd4ba0b1d5e5721708b0859b6483070f3b44 (diff) |
Fix T68788: Particle Edit Mode Hair vertex doesn't follow vertex theme
color
Selection and grooming only ever happens on hair keys (vertices), so
makes sense to use that theme color.
Sidenote: `CacheEditrPathsIterData` and `PTCacheEdit` have `sel_col` and
`nosel_col`, these can go, will do in a separate commit.
Maniphest Tasks: T68788
Differential Revision: https://developer.blender.org/D6725
Diffstat (limited to 'source/blender/editors/physics/particle_edit.c')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 120c4929ecf..02842f87700 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -5190,7 +5190,8 @@ void PE_create_particle_edit( /* Causes assert on startup. */ #if 0 - UI_GetThemeColor3ubv(TH_EDGE_SELECT, edit->sel_col); + /* 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)); |