diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-16 01:46:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-16 01:46:02 +0400 |
commit | a648a4699f1bcde20ea067c7b729d46c5f8ecd58 (patch) | |
tree | 5f727d627130f70ba2a32f0a06f6324daa791a59 /source/blender/blenlib/BLI_uvproject.h | |
parent | bb7062abcb4169f8f7676ebef54d5e6b8b27218a (diff) |
scale option was only working for panoramic cameras
Diffstat (limited to 'source/blender/blenlib/BLI_uvproject.h')
-rw-r--r-- | source/blender/blenlib/BLI_uvproject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_uvproject.h b/source/blender/blenlib/BLI_uvproject.h index a77ca60fc15..cf8bb7cd4b8 100644 --- a/source/blender/blenlib/BLI_uvproject.h +++ b/source/blender/blenlib/BLI_uvproject.h @@ -37,4 +37,7 @@ void project_from_view(float target[2], float source[3], float persmat[4][4], fl /* apply ortho uv's */ void project_from_view_ortho(float target[2], float source[3], float rotmat[4][4]); +/* so we can adjust scale with keeping the struct private */ +void project_camera_info_scale(struct UvCameraInfo *uci, float scale_x, float scale_y); + #endif |