From 3cfa085a462a5fc67138bfc78c7de3e13ee15008 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Wed, 14 Jan 2004 15:41:49 +0000 Subject: [PATCH] Set cursor calls for the bevel function. Making sure the hourglass (waiting cursor) is not displayed when we don't want it to. --- source/blender/src/editmesh.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index fa0ad2606ca..c84fd53b985 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -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); } }