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/Modifier.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/Modifier.c')
-rw-r--r-- | source/blender/python/api2_2x/Modifier.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/python/api2_2x/Modifier.c b/source/blender/python/api2_2x/Modifier.c index a18b12ece8d..6745ad4aa8d 100644 --- a/source/blender/python/api2_2x/Modifier.c +++ b/source/blender/python/api2_2x/Modifier.c @@ -1021,16 +1021,6 @@ PyObject *Modifier_CreatePyObject( Object *ob, ModifierData * md ) } /*****************************************************************************/ -/* Function: Modifier_CheckPyObject */ -/* Description: This function returns true when the given PyObject is of the */ -/* type Modifier. Otherwise it will return false. */ -/*****************************************************************************/ -int Modifier_CheckPyObject( PyObject * pyobj ) -{ - return ( pyobj->ob_type == &Modifier_Type ); -} - -/*****************************************************************************/ /* Function: Modifier_FromPyObject */ /* Description: This function returns the Blender modifier from the given */ /* PyObject. */ |