Blender V2.61 - r43446
Functions | Variables

drivers.c File Reference

#include <stdio.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "DNA_anim_types.h"
#include "DNA_object_types.h"
#include "DNA_material_types.h"
#include "DNA_texture_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BKE_animsys.h"
#include "BKE_depsgraph.h"
#include "BKE_fcurve.h"
#include "BKE_context.h"
#include "BKE_report.h"
#include "BKE_material.h"
#include "BKE_texture.h"
#include "ED_keyframing.h"
#include "UI_interface.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "anim_intern.h"

Go to the source code of this file.

Functions

void free_anim_drivers_copybuf (void)
FCurveverify_driver_fcurve (ID *id, const char rna_path[], const int array_index, short add)
short ANIM_add_driver (ReportList *reports, ID *id, const char rna_path[], int array_index, short flag, int type)
short ANIM_remove_driver (ReportList *UNUSED(reports), ID *id, const char rna_path[], int array_index, short UNUSED(flag))
short ANIM_driver_can_paste (void)
short ANIM_copy_driver (ReportList *reports, ID *id, const char rna_path[], int array_index, short UNUSED(flag))
short ANIM_paste_driver (ReportList *reports, ID *id, const char rna_path[], int array_index, short UNUSED(flag))
static char * get_driver_path_hack (bContext *C, PointerRNA *ptr, PropertyRNA *prop)
static int add_driver_button_exec (bContext *C, wmOperator *op)
void ANIM_OT_driver_button_add (wmOperatorType *ot)
static int remove_driver_button_exec (bContext *C, wmOperator *op)
void ANIM_OT_driver_button_remove (wmOperatorType *ot)
static int copy_driver_button_exec (bContext *C, wmOperator *op)
void ANIM_OT_copy_driver_button (wmOperatorType *ot)
static int paste_driver_button_exec (bContext *C, wmOperator *op)
void ANIM_OT_paste_driver_button (wmOperatorType *ot)

Variables

static FCurvechanneldriver_copypaste_buf = NULL

Detailed Description

Definition in file drivers.c.


Function Documentation

static int add_driver_button_exec ( bContext C,
wmOperator op 
) [static]
short ANIM_add_driver ( ReportList reports,
ID id,
const char  rna_path[],
int  array_index,
short  flag,
int  type 
)
short ANIM_copy_driver ( ReportList reports,
ID id,
const char  rna_path[],
int  array_index,
short   UNUSEDflag 
)
short ANIM_driver_can_paste ( void  )

Definition at line 293 of file drivers.c.

References NULL.

Referenced by ui_but_menu().

void ANIM_OT_copy_driver_button ( wmOperatorType ot)
void ANIM_OT_driver_button_add ( wmOperatorType ot)
void ANIM_OT_driver_button_remove ( wmOperatorType ot)
void ANIM_OT_paste_driver_button ( wmOperatorType ot)
short ANIM_paste_driver ( ReportList reports,
ID id,
const char  rna_path[],
int  array_index,
short   UNUSEDflag 
)
short ANIM_remove_driver ( ReportList UNUSEDreports,
ID id,
const char  rna_path[],
int  array_index,
short   UNUSEDflag 
)
static int copy_driver_button_exec ( bContext C,
wmOperator op 
) [static]
void free_anim_drivers_copybuf ( void  )

Definition at line 284 of file drivers.c.

References free_fcurve(), and NULL.

Referenced by ANIM_copy_driver(), and WM_exit_ext().

static char* get_driver_path_hack ( bContext C,
PointerRNA ptr,
PropertyRNA prop 
) [static]
static int paste_driver_button_exec ( bContext C,
wmOperator op 
) [static]
static int remove_driver_button_exec ( bContext C,
wmOperator op 
) [static]
FCurve* verify_driver_fcurve ( ID id,
const char  rna_path[],
const int  array_index,
short  add 
) [read]

Variable Documentation

Definition at line 280 of file drivers.c.