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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index 8706552b84e..999173e288f 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -6748,11 +6748,11 @@ void std_rmouse_transform(void (*xf_func)(int))
while(get_mbut() & mousebut) {
getmouseco_areawin(mval);
if(abs(mval[0]-xo)+abs(mval[1]-yo) > 10) {
-#ifdef NEWTRANSFORM
- Transform(TFM_TRANSLATION);
-#else
- xf_func('g');
-#endif
+ if(curarea->spacetype==SPACE_VIEW3D)
+ Transform(TFM_TRANSLATION);
+ else
+ xf_func('g');
+
while(get_mbut() & mousebut) BIF_wait_for_statechange();
return;
}