From e33e4addeb49dbdd52ba3cc541ada814b58d510c Mon Sep 17 00:00:00 2001 From: Michel Selten Date: Sun, 5 Oct 2003 11:23:49 +0000 Subject: [PATCH] Referenced a wrong variable. Stupid typo. --- source/blender/python/api2_2x/Object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index 282eb28e4b7..b9557b86b8a 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -1111,7 +1111,7 @@ static PyObject *Object_setLocation (BPy_Object *self, PyObject *args) self->object->loc[0] = loc1; self->object->loc[1] = loc2; - self->object->loc[2] = loc2; + self->object->loc[2] = loc3; Py_INCREF (Py_None); return (Py_None);