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:
authorMartin Poirier <theeth@yahoo.com>2009-11-07 00:31:14 +0300
committerMartin Poirier <theeth@yahoo.com>2009-11-07 00:31:14 +0300
commit0b027b40971a48efa7486568922f8ed9afc53d75 (patch)
tree993eb823de30ccb6af74e3391fb5e285686cd4ef /source/blender/editors/transform/transform_manipulator.c
parent5c3a365ac49dda3caf17985abb66fd2299920fcd (diff)
Make orientation matrix access function public.
Fix bug in previous code: passing 3x3 matrix to a function expecting a 4x4 (warnings are for something)
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index dd94fef4059..0f4848d9120 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -496,7 +496,9 @@ int calc_manipulator_stats(const bContext *C)
}
case V3D_MANIP_NORMAL:
if(obedit || ob->mode & OB_MODE_POSE) {
- getTransformOrientationMatrix(C, rv3d->twmat, (v3d->around == V3D_ACTIVE));
+ float mat[3][3];
+ ED_getTransformOrientationMatrix(C, mat, (v3d->around == V3D_ACTIVE));
+ Mat4CpyMat3(rv3d->twmat, mat);
break;
}
/* no break we define 'normal' as 'local' in Object mode */