diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-25 11:46:07 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-26 14:18:40 +0300 |
commit | 143dbfb33e2a7ef1dad43fde9af427f47bca5f34 (patch) | |
tree | f63cb2acb65b83c79b66cbe3b6df1a09639e8046 /source/blender/blenlib/BLI_rect.h | |
parent | f1f797599f5f2a183e7680e3eb5b5c5ea3361376 (diff) |
Fix T44118: Rotated background image disappears
Image clipping didn't take rotation into account.
Diffstat (limited to 'source/blender/blenlib/BLI_rect.h')
-rw-r--r-- | source/blender/blenlib/BLI_rect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_rect.h b/source/blender/blenlib/BLI_rect.h index a132ac40206..e0a0b34ac5f 100644 --- a/source/blender/blenlib/BLI_rect.h +++ b/source/blender/blenlib/BLI_rect.h @@ -89,6 +89,8 @@ void BLI_rctf_union(struct rctf *rctf1, const struct rctf *rctf2); void BLI_rcti_rctf_copy(struct rcti *dst, const struct rctf *src); void BLI_rctf_rcti_copy(struct rctf *dst, const struct rcti *src); +void BLI_rctf_rotate_expand(rctf *dst, const rctf *src, const float angle); + void print_rctf(const char *str, const struct rctf *rect); void print_rcti(const char *str, const struct rcti *rect); |