diff options
author | Ton Roosendaal <ton@blender.org> | 2006-06-13 00:01:18 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-06-13 00:01:18 +0400 |
commit | b58998729bbc27dc978436596f81b4d1df899137 (patch) | |
tree | 6226d62110dfb7d42294f549df63d17a7b5eba07 /source/blender/src/transform.c | |
parent | 98b8b876b61995af8f8e349ac39fae653f8a8af4 (diff) |
Last minute patch from Chris Want
Nkey "Properties Panel" now has Dimension ("Dim") buttons too.
This reads from the actual bounding box value to see the size. Note that
dimensions for animated & deformed objects will change per frame.
(Cleaned up buttons layout for patch, and added support for Curve, Text and
Surface objects)
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 77dad5fb1e8..ad76cd332fd 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -1051,11 +1051,11 @@ static void protectedTransBits(short protectflag, float *vec) static void protectedSizeBits(short protectflag, float *size) { - if(protectflag & OB_LOCK_SIZEX) + if(protectflag & OB_LOCK_SCALEX) size[0]= 1.0f; - if(protectflag & OB_LOCK_SIZEY) + if(protectflag & OB_LOCK_SCALEY) size[1]= 1.0f; - if(protectflag & OB_LOCK_SIZEZ) + if(protectflag & OB_LOCK_SCALEZ) size[2]= 1.0f; } |