Blender V2.61 - r43446
Functions

physics_pointcache.c File Reference

#include <stdlib.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "DNA_scene_types.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_modifier.h"
#include "BKE_particle.h"
#include "BKE_pointcache.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "ED_particle.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "physics_intern.h"

Go to the source code of this file.

Functions

static int cache_break_test (void *UNUSED(cbd))
static int ptcache_bake_all_poll (bContext *C)
static int ptcache_poll (bContext *C)
static void bake_console_progress (void *UNUSED(arg), int nr)
static void bake_console_progress_end (void *UNUSED(arg))
static int ptcache_bake_all_exec (bContext *C, wmOperator *op)
static int ptcache_free_bake_all_exec (bContext *C, wmOperator *UNUSED(op))
void PTCACHE_OT_bake_all (wmOperatorType *ot)
void PTCACHE_OT_free_bake_all (wmOperatorType *ot)
static int ptcache_bake_exec (bContext *C, wmOperator *op)
static int ptcache_free_bake_exec (bContext *C, wmOperator *UNUSED(op))
static int ptcache_bake_from_cache_exec (bContext *C, wmOperator *UNUSED(op))
void PTCACHE_OT_bake (wmOperatorType *ot)
void PTCACHE_OT_free_bake (wmOperatorType *ot)
void PTCACHE_OT_bake_from_cache (wmOperatorType *ot)
static int ptcache_add_new_exec (bContext *C, wmOperator *UNUSED(op))
static int ptcache_remove_exec (bContext *C, wmOperator *UNUSED(op))
void PTCACHE_OT_add (wmOperatorType *ot)
void PTCACHE_OT_remove (wmOperatorType *ot)

Detailed Description

Definition in file physics_pointcache.c.


Function Documentation

static void bake_console_progress ( void *  UNUSEDarg,
int  nr 
) [static]

Definition at line 82 of file physics_pointcache.c.

Referenced by ptcache_bake_all_exec(), and ptcache_bake_exec().

static void bake_console_progress_end ( void *  UNUSEDarg) [static]

Definition at line 88 of file physics_pointcache.c.

Referenced by ptcache_bake_all_exec(), and ptcache_bake_exec().

static int cache_break_test ( void *  UNUSEDcbd) [static]

Definition at line 62 of file physics_pointcache.c.

References G.

Referenced by ptcache_bake_all_exec(), and ptcache_bake_exec().

static int ptcache_add_new_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int ptcache_bake_all_exec ( bContext C,
wmOperator op 
) [static]
static int ptcache_bake_all_poll ( bContext C) [static]

Definition at line 66 of file physics_pointcache.c.

References CTX_data_scene().

Referenced by PTCACHE_OT_bake_all(), and PTCACHE_OT_free_bake_all().

static int ptcache_bake_exec ( bContext C,
wmOperator op 
) [static]
static int ptcache_bake_from_cache_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int ptcache_free_bake_all_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int ptcache_free_bake_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
void PTCACHE_OT_add ( wmOperatorType ot)
void PTCACHE_OT_bake ( wmOperatorType ot)
void PTCACHE_OT_bake_all ( wmOperatorType ot)
void PTCACHE_OT_bake_from_cache ( wmOperatorType ot)
void PTCACHE_OT_free_bake ( wmOperatorType ot)
void PTCACHE_OT_free_bake_all ( wmOperatorType ot)
void PTCACHE_OT_remove ( wmOperatorType ot)
static int ptcache_poll ( bContext C) [static]
static int ptcache_remove_exec ( bContext C,
wmOperator UNUSEDop 
) [static]