removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's
This commit is contained in:
@@ -514,16 +514,6 @@ PyObject *Group_CreatePyObject( struct Group * grp )
|
||||
return ( ( PyObject * ) pygrp );
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Function: Group_CheckPyObject */
|
||||
/* Description: This function returns true when the given PyObject is of the */
|
||||
/* type Group. Otherwise it will return false. */
|
||||
/*****************************************************************************/
|
||||
int Group_CheckPyObject( PyObject * py_grp)
|
||||
{
|
||||
return ( py_grp->ob_type == &Group_Type );
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Function: Group_FromPyObject */
|
||||
/* Description: This function returns the Blender group from the given */
|
||||
|
||||
Reference in New Issue
Block a user