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_manipulator.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_manipulator.c')
-rw-r--r-- | source/blender/src/transform_manipulator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/transform_manipulator.c b/source/blender/src/transform_manipulator.c index 815579ed24e..97a6ad227cc 100644 --- a/source/blender/src/transform_manipulator.c +++ b/source/blender/src/transform_manipulator.c @@ -148,11 +148,11 @@ static void protectflag_to_drawflags(short protectflag, short *drawflags) if(protectflag & OB_LOCK_ROTZ) *drawflags &= ~MAN_ROT_Z; - if(protectflag & OB_LOCK_SIZEX) + if(protectflag & OB_LOCK_SCALEX) *drawflags &= ~MAN_SCALE_X; - if(protectflag & OB_LOCK_SIZEY) + if(protectflag & OB_LOCK_SCALEY) *drawflags &= ~MAN_SCALE_Y; - if(protectflag & OB_LOCK_SIZEZ) + if(protectflag & OB_LOCK_SCALEZ) *drawflags &= ~MAN_SCALE_Z; } |