Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_view3d / view3d_edit.c
index 90f79f0ff693d36931b6312c07d6bf912ad713ea..2b0bd7690e24f7a4d043dc832a12dcfdf2b59868 100644 (file)
@@ -70,7 +70,6 @@
 #include "RNA_define.h"
 
 #include "ED_armature.h"
-#include "ED_particle.h"
 #include "ED_keyframing.h"
 #include "ED_screen.h"
 #include "ED_transform.h"
@@ -3076,9 +3075,6 @@ static int viewselected_exec(bContext *C, wmOperator *op)
        else if (BKE_paint_select_face_test(ob)) {
                ok = paintface_minmax(ob, min, max);
        }
-       else if (ob && (ob->mode & OB_MODE_PARTICLE_EDIT)) {
-               ok = PE_minmax(scene, min, max);
-       }
        else if (ob && (ob->mode & (OB_MODE_SCULPT | OB_MODE_TEXTURE_PAINT))) {
                BKE_paint_stroke_get_average(scene, ob, min);
                copy_v3_v3(max, min);