mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix possible crash with new sculpting cursor, due to stack overflow
This commit is contained in:
parent
c65febf396
commit
d8bc28ca20
1 changed files with 1 additions and 1 deletions
|
|
@ -1090,7 +1090,7 @@ static void cursor_draw_point_screen_space(const uint gpuattr,
|
|||
float true_location[3],
|
||||
float obmat[4][4])
|
||||
{
|
||||
float translation_vertex_cursor[2], location[3];
|
||||
float translation_vertex_cursor[3], location[3];
|
||||
copy_v3_v3(location, true_location);
|
||||
mul_m4_v3(obmat, location);
|
||||
ED_view3d_project(ar, location, translation_vertex_cursor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue