diff options
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 9 | ||||
-rw-r--r-- | source/blender/editors/physics/particle_object.c | 4 |
2 files changed, 0 insertions, 13 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); diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index c2407310e64..4bd58d1bebc 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -1037,10 +1037,6 @@ static void copy_particle_edit(Depsgraph *depsgraph, } update_world_cos(ob, edit); - /* 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); recalc_emitter_field(depsgraph, ob, psys); PE_update_object(depsgraph, scene, ob, true); |