diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-08 19:39:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-08 19:39:40 +0300 |
commit | c26a9eed929f3a06bc2721eafd5c716b9d8fe0be (patch) | |
tree | 091abdc21d9f2aeed0db4d6816af39448a80e3dc /source/blender/editors/transform/transform_orientations.c | |
parent | a2b80d4c4878315cf453e1c374fba91f06d120a7 (diff) |
Error in last commit
Had warnings disabled.
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r-- | source/blender/editors/transform/transform_orientations.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index c91666be8f6..a1bb6f4e0f3 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -394,7 +394,7 @@ int BIF_countTransformOrientation(const bContext *C) bool applyTransformOrientation(const bContext *C, float mat[3][3], char *r_name, int index) { ListBase *transform_spaces = &CTX_data_scene(C)->transform_spaces; - const TransformOrientation *ts = BLI_findlink(transform_spaces, index); + TransformOrientation *ts = BLI_findlink(transform_spaces, index); BLI_assert(index >= 0); @@ -1047,7 +1047,7 @@ int getTransformOrientation(const bContext *C, float normal[3], float plane[3]) /* dummy value, not V3D_ACTIVE and not V3D_LOCAL */ short around = V3D_CENTER; - getTransformOrientation_ex(C, normal, plane, around); + return getTransformOrientation_ex(C, normal, plane, around); } void ED_getTransformOrientationMatrix(const bContext *C, float orientation_mat[3][3], const short around) |