diff options
author | Hans Goudey <h.goudey@me.com> | 2021-04-28 21:13:43 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-04-28 21:13:43 +0300 |
commit | 1012e9bbfa61e09a49962e5ca468e239ad75865a (patch) | |
tree | 7a7dcaea8f651debc85f9f0db73908c71b43e73e /source/blender/blenlib/intern | |
parent | cb09d34fde5f7beb6907f57f84461a7b5bd90ef1 (diff) |
Cleanup: Fix inconcistent array lengths in function declarations
In some cases functions were defined with arguments of different array
lengths in headers vs. implementations. This commit fixes some of the
cases I ran into, but probably not all of them.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/uvproject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/uvproject.c b/source/blender/blenlib/intern/uvproject.c index 329c4d48fe8..093d08e643d 100644 --- a/source/blender/blenlib/intern/uvproject.c +++ b/source/blender/blenlib/intern/uvproject.c @@ -134,7 +134,7 @@ void BLI_uvproject_from_view(float target[2], /* 'rotmat' can be `obedit->obmat` when uv project is used. * 'winx' and 'winy' can be from `scene->r.xsch/ysch` */ -ProjCameraInfo *BLI_uvproject_camera_info(Object *ob, float (*rotmat)[4], float winx, float winy) +ProjCameraInfo *BLI_uvproject_camera_info(Object *ob, float rotmat[4][4], float winx, float winy) { ProjCameraInfo uci; Camera *camera = ob->data; |