diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-11-07 00:31:14 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-11-07 00:31:14 +0300 |
commit | 0b027b40971a48efa7486568922f8ed9afc53d75 (patch) | |
tree | 993eb823de30ccb6af74e3391fb5e285686cd4ef /source/blender/editors/include/ED_transform.h | |
parent | 5c3a365ac49dda3caf17985abb66fd2299920fcd (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/include/ED_transform.h')
-rw-r--r-- | source/blender/editors/include/ED_transform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h index e07cbff429a..0f17599daae 100644 --- a/source/blender/editors/include/ED_transform.h +++ b/source/blender/editors/include/ED_transform.h @@ -122,6 +122,8 @@ int BIF_menuselectTransformOrientation(void); void BIF_selectTransformOrientation(struct bContext *C, struct TransformOrientation *ts); void BIF_selectTransformOrientationValue(struct bContext *C, int orientation); +void ED_getTransformOrientationMatrix(const struct bContext *C, float orientation_mat[][3], int activeOnly); + struct EnumPropertyItem *BIF_enumTransformOrientation(struct bContext *C); char * BIF_menustringTransformOrientation(const struct bContext *C, char *title); /* the returned value was allocated and needs to be freed after use */ int BIF_countTransformOrientation(const struct bContext *C); |