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>2006-06-13 00:01:18 +0400
committerTon Roosendaal <ton@blender.org>2006-06-13 00:01:18 +0400
commitb58998729bbc27dc978436596f81b4d1df899137 (patch)
tree6226d62110dfb7d42294f549df63d17a7b5eba07 /source/blender/src/transform_manipulator.c
parent98b8b876b61995af8f8e349ac39fae653f8a8af4 (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.c6
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;
}