Cleanup: Braces around initialization warning

There is no need to initialize the bounding box as it is fully
initialized by the BKE_boundbox_init_from_minmax().
This commit is contained in:
Sergey Sharybin 2022-11-14 14:43:41 +01:00
parent b557e4317d
commit 37f50ffdbc
1 changed files with 1 additions and 1 deletions

View File

@ -2433,7 +2433,7 @@ static bool lineart_geometry_check_visible(double model_view_proj[4][4],
float mesh_min[3], mesh_max[3];
INIT_MINMAX(mesh_min, mesh_max);
BKE_mesh_minmax(use_mesh, mesh_min, mesh_max);
BoundBox bb = {0};
BoundBox bb;
BKE_boundbox_init_from_minmax(&bb, mesh_min, mesh_max);
double co[8][4];