Blender V2.61 - r43446
Defines | Functions | Variables

bpy_rna_anim.c File Reference

#include <Python.h>
#include <float.h>
#include "MEM_guardedalloc.h"
#include "BLI_string.h"
#include "DNA_scene_types.h"
#include "DNA_anim_types.h"
#include "ED_keyframing.h"
#include "BKE_report.h"
#include "BKE_context.h"
#include "BKE_animsys.h"
#include "BKE_fcurve.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_types.h"
#include "bpy_rna.h"
#include "bpy_util.h"
#include "bpy_rna_anim.h"

Go to the source code of this file.

Defines

#define TRUE   1
#define FALSE   0

Functions

static int pyrna_struct_anim_args_parse (PointerRNA *ptr, const char *error_prefix, const char *path, const char **path_full, int *index)
static int pyrna_struct_keyframe_parse (PointerRNA *ptr, PyObject *args, PyObject *kw, const char *parse_str, const char *error_prefix, const char **path_full, int *index, float *cfra, const char **group_name)
PyObject * pyrna_struct_keyframe_insert (BPy_StructRNA *self, PyObject *args, PyObject *kw)
PyObject * pyrna_struct_keyframe_delete (BPy_StructRNA *self, PyObject *args, PyObject *kw)
PyObject * pyrna_struct_driver_add (BPy_StructRNA *self, PyObject *args)
PyObject * pyrna_struct_driver_remove (BPy_StructRNA *self, PyObject *args)

Variables

char pyrna_struct_keyframe_insert_doc [] = " :rtype: boolean\n"
char pyrna_struct_keyframe_delete_doc [] = " :rtype: boolean\n"
char pyrna_struct_driver_add_doc [] = " :rtype: :class:`bpy.types.FCurve` or list if index is -1 with an array property.\n"
char pyrna_struct_driver_remove_doc [] = " :rtype: boolean\n"

Detailed Description

This file defines the animation related methods used in bpy_rna.c

Definition in file bpy_rna_anim.c.


Define Documentation

#define FALSE   0

Definition at line 55 of file bpy_rna_anim.c.

#define TRUE   1

Function Documentation

static int pyrna_struct_anim_args_parse ( PointerRNA ptr,
const char *  error_prefix,
const char *  path,
const char **  path_full,
int *  index 
) [static]
PyObject* pyrna_struct_driver_add ( BPy_StructRNA self,
PyObject *  args 
)
PyObject* pyrna_struct_driver_remove ( BPy_StructRNA self,
PyObject *  args 
)
PyObject* pyrna_struct_keyframe_delete ( BPy_StructRNA self,
PyObject *  args,
PyObject *  kw 
)
PyObject* pyrna_struct_keyframe_insert ( BPy_StructRNA self,
PyObject *  args,
PyObject *  kw 
)
static int pyrna_struct_keyframe_parse ( PointerRNA ptr,
PyObject *  args,
PyObject *  kw,
const char *  parse_str,
const char *  error_prefix,
const char **  path_full,
int *  index,
float *  cfra,
const char **  group_name 
) [static]

Variable Documentation

char pyrna_struct_driver_add_doc[] = " :rtype: :class:`bpy.types.FCurve` or list if index is -1 with an array property.\n"

Definition at line 268 of file bpy_rna_anim.c.

char pyrna_struct_driver_remove_doc[] = " :rtype: boolean\n"

Definition at line 344 of file bpy_rna_anim.c.

char pyrna_struct_keyframe_delete_doc[] = " :rtype: boolean\n"

Definition at line 218 of file bpy_rna_anim.c.

char pyrna_struct_keyframe_insert_doc[] = " :rtype: boolean\n"

Definition at line 170 of file bpy_rna_anim.c.