From 11fe49227b8b3dbcc6dbafbde16ee84c1a2e5af7 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Wed, 10 Nov 2004 21:27:54 +0000 Subject: [PATCH] Proper fix for Ton's commit. Original commit message: "Cosmetic change (after bugreport), scaling in axis (press X,Y,Z) now prints in header "local" too, this to indicate it only does local scales." The solution was half good, since only object mode is restricted to local axis constraints. Fixed by checking for the Local flag (which was properly set). --- source/blender/src/editobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c index 9244c3d1a67..bd499e912ab 100644 --- a/source/blender/src/editobject.c +++ b/source/blender/src/editobject.c @@ -5952,7 +5952,7 @@ void transform(int mode) sprintf(str, "Sizex: %.3f Sizey: %.3f Sizez: >%.3f<", sizelo[0], sizelo[1], sizelo[2]); } } - else if (axismode) + else if (axismode & TRANSLOCAL) sprintf(str, "Local Sizex: %.3f Sizey: %.3f Sizez: %.3f", sizelo[0], sizelo[1], sizelo[2]); else sprintf(str, "Sizex: %.3f Sizey: %.3f Sizez: %.3f", sizelo[0], sizelo[1], sizelo[2]);