removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's
This commit is contained in:
@@ -1020,16 +1020,6 @@ PyObject *Modifier_CreatePyObject( Object *ob, ModifierData * md )
|
||||
return ( PyObject * ) pymod;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/* 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 */
|
||||
|
||||
Reference in New Issue
Block a user