Fix T62903: black line in UV editor on 32 bit

This commit is contained in:
Brecht Van Lommel 2019-07-08 17:34:22 +02:00
parent 50d0a74833
commit b2a9627600
Notes: blender-bot 2023-02-14 03:15:38 +01:00
Referenced by issue #62903, uv select edge black bug in blender 2.80 64 bit build
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ static bool gizmo_calc_rect_view_margin(const wmGizmo *gz, const float dims[2],
handle_size *= gz->scale_final;
float scale_xy[2];
if (!gizmo_calc_rect_view_scale(gz, dims, scale_xy)) {
zero_v2(margin);
return false;
}
margin[0] = ((handle_size * scale_xy[0]));