Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/editobject.c')
-rw-r--r--source/blender/src/editobject.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index 8204507aa97..467e5786178 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -5451,6 +5451,7 @@ void std_rmouse_transform(void (*xf_func)(int))
{
short mval[2];
short xo, yo;
+ short timer=0;
getmouseco_areawin(mval);
xo= mval[0];
@@ -5463,8 +5464,14 @@ void std_rmouse_transform(void (*xf_func)(int))
while(get_mbut()&R_MOUSE) BIF_wait_for_statechange();
return;
}
-
- BIF_wait_for_statechange();
+ else {
+ PIL_sleep_ms(10);
+ timer++;
+ if(timer>=10*U.menuthreshold1) {
+ toolbox_n();
+ return;
+ }
+ }
}
}