Merge branch 'temp_remove_particles' into blender2.8
[blender.git] / source / blender / editors / interface / interface_icons.c
index 3682cff3908a528f00508f34dfb3e7634817bf64..34ea849aea78ff7b7e5bca7fc4798f183a62fefe 100644 (file)
@@ -1342,7 +1342,7 @@ static int ui_id_brush_get_icon(const bContext *C, ID *id)
                Object *ob = CTX_data_active_object(C);
                SpaceImage *sima;
                EnumPropertyItem *items = NULL;
-               int tool, mode = 0;
+               int tool = PAINT_TOOL_DRAW, mode = 0;
 
                /* XXX: this is not nice, should probably make brushes
                 * be strictly in one paint mode only to avoid