creating new objects from
ob = scn.objects.new(arm_data) didnt work. Also added docs to Pose - that make an armature, add an action and add pose keyframes
This commit is contained in:
@@ -1357,6 +1357,21 @@ struct bArmature *PyArmature_AsArmature(BPy_Armature *py_armature)
|
||||
{
|
||||
return (py_armature->armature);
|
||||
}
|
||||
|
||||
// This function returns true when the given PyObject
|
||||
// is of the type Sound. Otherwise it will return false
|
||||
int Armature_CheckPyObject( PyObject * pyobj )
|
||||
{
|
||||
return ( pyobj->ob_type == &Armature_Type);
|
||||
}
|
||||
|
||||
struct bArmature *Armature_FromPyObject( PyObject * py_obj )
|
||||
{
|
||||
return PyArmature_AsArmature((BPy_Armature*)py_obj);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-------------------MODULE INITIALIZATION--------------------------------
|
||||
PyObject *Armature_Init(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user