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:
authorMartin Poirier <theeth@yahoo.com>2004-11-11 00:27:54 +0300
committerMartin Poirier <theeth@yahoo.com>2004-11-11 00:27:54 +0300
commit11fe49227b8b3dbcc6dbafbde16ee84c1a2e5af7 (patch)
treef23f5766093ffdb6bf5bb32860ce13046b871eb5
parent41f842a4847fe85da0dce841aa25f74e89139b27 (diff)
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).
-rw-r--r--source/blender/src/editobject.c2
1 files changed, 1 insertions, 1 deletions
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]);