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>2005-07-17 21:36:54 +0400
committerTon Roosendaal <ton@blender.org>2005-07-17 21:36:54 +0400
commitfdaf1c6eac741fedced835298f04d40c6974d19c (patch)
tree55a4a37c3381c51439fdcbef85f7460afc3edf48 /source/blender/src/transform.c
parent099b3e786c7a8609812385aefe3eb0c108e42882 (diff)
Three fixes, thanks to irc reporting of Basse & Sten;
- Bone points for B-Bone drawing were not adjusted for size of Bone, now they draw same size as for other bone type - Deleting bones in editmode didn't check for constraints in Pose, causing weird collapsed poses or even crashes - ALT+S scaling on B-Bones in editmode didn't correct for the Object scale.
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-xsource/blender/src/transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index 13945db6057..e114d13bbf4 100755
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -2227,7 +2227,7 @@ static void ElementBoneSize(TransInfo *t, TransData *td, float mat[3][3])
/* we've tucked the scale in loc */
oldy= td->iloc[1];
SizeToMat3(td->iloc, sizemat);
- Mat3MulMat3(tmat, smat, sizemat);
+ Mat3MulMat3(tmat, tmat, sizemat);
Mat3ToSize(tmat, td->loc);
td->loc[1]= oldy;
}