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:
authorTon Roosendaal <ton@blender.org>2004-11-10 19:23:05 +0300
committerTon Roosendaal <ton@blender.org>2004-11-10 19:23:05 +0300
commit4b6f66fa54adc5382b795de80e19fb72e05178cd (patch)
treeda92c9e228742304c039b0b4fa04d500f99f4d77 /source/blender/src/editobject.c
parentf7cc0cf342c62c03c9e3ed26d93d22fa736f3ab8 (diff)
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. In editmesh: added NULL pointer in return of function to prevent crash on error "give quad verts"
Diffstat (limited to 'source/blender/src/editobject.c')
-rw-r--r--source/blender/src/editobject.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index 0a24c60fd93..9244c3d1a67 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -5952,7 +5952,9 @@ void transform(int mode)
sprintf(str, "Sizex: %.3f Sizey: %.3f Sizez: >%.3f<", sizelo[0], sizelo[1], sizelo[2]);
}
}
- else
+ else if (axismode)
+ 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]);
}
else if (mode=='S') {