From d75456196f511efdf922dbcab719657440feccef Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 12 Mar 2018 16:35:31 +1100 Subject: [PATCH 1/2] Cleanup: typo --- doc/python_api/rst/info_api_reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python_api/rst/info_api_reference.rst b/doc/python_api/rst/info_api_reference.rst index 5ef5866c44a..ab690a8ee06 100644 --- a/doc/python_api/rst/info_api_reference.rst +++ b/doc/python_api/rst/info_api_reference.rst @@ -53,7 +53,7 @@ Here are some characteristics ID Data-Blocks share. Simple Data Access ------------------ -Lets start with a simple case, say you wan't a python script to adjust the objects location. +Lets start with a simple case, say you want a python script to adjust the objects location. Start by finding this setting in the interface ``Properties Window -> Object -> Transform -> Location`` From da62507bc8f00f6cd443b450d973114c762b16fc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 12 Mar 2018 16:37:26 +1100 Subject: [PATCH 2/2] Cleanup: remove misleading array size --- source/blender/editors/uvedit/uvedit_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index b95327cf700..c0e9b0d1404 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -2075,7 +2075,7 @@ static void UV_OT_select_all(wmOperatorType *ot) /* ******************** mouse select operator **************** */ -static bool uv_sticky_select(float *limit, int hitv[4], int v, float *hituv[4], float *uv, int sticky, int hitlen) +static bool uv_sticky_select(float *limit, int hitv[], int v, float *hituv[], float *uv, int sticky, int hitlen) { int i;