diff options
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 3 | ||||
-rw-r--r-- | source/blender/editors/physics/particle_object.c | 3 |
2 files changed, 4 insertions, 2 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)); diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index 466b87755fe..c2407310e64 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -1037,7 +1037,8 @@ static void copy_particle_edit(Depsgraph *depsgraph, } update_world_cos(ob, edit); - 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); recalc_lengths(edit); |