forked from bartvdbraak/blender
Set cursor calls for the bevel function. Making sure the hourglass (waiting cursor) is not displayed when we don't want it to.
This commit is contained in:
parent
e76eb6a45a
commit
3cfa085a46
@ -8449,6 +8449,8 @@ void bevel_menu()
|
||||
if (nr==0) fac += 1.0/3.0; else fac += 1.0/(3 * nr * 2.0);
|
||||
}
|
||||
|
||||
SetBlenderCursor(SYSCURSOR);
|
||||
|
||||
while (Finished == 0)
|
||||
{
|
||||
getmouseco_areawin(mval);
|
||||
@ -8528,9 +8530,11 @@ void bevel_menu()
|
||||
}
|
||||
}
|
||||
if (Canceled==0) {
|
||||
SetBlenderCursor(BC_WAITCURSOR);
|
||||
undo_push_mesh("Bevel");
|
||||
bevel_mesh_recurs(drawd/fac, recurs, 1);
|
||||
righthandfaces(1);
|
||||
SetBlenderCursor(SYSCURSOR);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user