From 65d61c2cb65ec2d7e92985582932744bf0d1620a Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Thu, 17 Jan 2008 22:57:00 +0000 Subject: [PATCH] === Custom Transform Orientation === Added orientation overwriting old ones didn't change correctly (weren't returning the correct index). --- source/blender/src/transform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 32c152488d1..22b10e0a3f0 100644 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -365,7 +365,7 @@ int addMatrixSpace(float mat[3][3], char name[]) { BIF_undo_push("Add/Update Transform Orientation"); - return BIF_countTransformOrientation() - 1; + return index; } void BIF_removeTransformOrientation(TransformOrientation *target) {