diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-15 04:09:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-15 04:09:14 +0300 |
commit | ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 (patch) | |
tree | c42b47cc23156ca0e8a03610faf175f9535a5b5d /source/blender/python/api2_2x/Draw.c | |
parent | a567e43628e780b5cc88f0f1aa73eb3111eab0f5 (diff) |
removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's
Diffstat (limited to 'source/blender/python/api2_2x/Draw.c')
-rw-r--r-- | source/blender/python/api2_2x/Draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Draw.c b/source/blender/python/api2_2x/Draw.c index c8713c8c0f1..8f557410481 100644 --- a/source/blender/python/api2_2x/Draw.c +++ b/source/blender/python/api2_2x/Draw.c @@ -1709,7 +1709,7 @@ static PyObject *Method_Image( PyObject * self, PyObject * args ) "expected a Blender.Image and 2 floats, and " \ "optionally 2 floats and 4 ints as arguments" ); /* check that the first PyObject is actually a Blender.Image */ - if( !Image_CheckPyObject( pyObjImage ) ) + if( !BPy_Image_Check( pyObjImage ) ) return EXPP_ReturnPyObjError( PyExc_TypeError, "expected a Blender.Image and 2 floats, and " \ "optionally 2 floats and 4 ints as arguments" ); |