Fix T62903: black line in UV editor on 32 bit
This commit is contained in:
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
|
@ -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]));
|
||||
|
|
Loading…
Reference in New Issue