Blender V2.61 - r43446
Functions

particle_object.c File Reference

#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "DNA_meshdata_types.h"
#include "DNA_modifier_types.h"
#include "DNA_scene_types.h"
#include "BLI_math.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_depsgraph.h"
#include "BKE_DerivedMesh.h"
#include "BKE_cdderivedmesh.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_particle.h"
#include "BKE_pointcache.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_particle.h"
#include "ED_screen.h"
#include "ED_object.h"
#include "physics_intern.h"

Go to the source code of this file.

Functions

static int particle_system_add_exec (bContext *C, wmOperator *UNUSED(op))
void OBJECT_OT_particle_system_add (wmOperatorType *ot)
static int particle_system_remove_exec (bContext *C, wmOperator *UNUSED(op))
void OBJECT_OT_particle_system_remove (wmOperatorType *ot)
static int psys_poll (bContext *C)
static int new_particle_settings_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_new (wmOperatorType *ot)
static int new_particle_target_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_new_target (wmOperatorType *ot)
static int remove_particle_target_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_target_remove (wmOperatorType *ot)
static int target_move_up_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_target_move_up (wmOperatorType *ot)
static int target_move_down_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_target_move_down (wmOperatorType *ot)
static int dupliob_move_up_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_dupliob_move_up (wmOperatorType *ot)
static int copy_particle_dupliob_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_dupliob_copy (wmOperatorType *ot)
static int remove_particle_dupliob_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_dupliob_remove (wmOperatorType *ot)
static int dupliob_move_down_exec (bContext *C, wmOperator *UNUSED(op))
void PARTICLE_OT_dupliob_move_down (wmOperatorType *ot)
static void disconnect_hair (Scene *scene, Object *ob, ParticleSystem *psys)
static int disconnect_hair_exec (bContext *C, wmOperator *op)
void PARTICLE_OT_disconnect_hair (wmOperatorType *ot)
static void connect_hair (Scene *scene, Object *ob, ParticleSystem *psys)
static int connect_hair_exec (bContext *C, wmOperator *op)
void PARTICLE_OT_connect_hair (wmOperatorType *ot)

Detailed Description

Definition in file particle_object.c.


Function Documentation

static void connect_hair ( Scene scene,
Object ob,
ParticleSystem psys 
) [static]
static int connect_hair_exec ( bContext C,
wmOperator op 
) [static]
static int copy_particle_dupliob_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static void disconnect_hair ( Scene scene,
Object ob,
ParticleSystem psys 
) [static]
static int disconnect_hair_exec ( bContext C,
wmOperator op 
) [static]
static int dupliob_move_down_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int dupliob_move_up_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int new_particle_settings_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int new_particle_target_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
void OBJECT_OT_particle_system_add ( wmOperatorType ot)
void OBJECT_OT_particle_system_remove ( wmOperatorType ot)
void PARTICLE_OT_connect_hair ( wmOperatorType ot)
void PARTICLE_OT_disconnect_hair ( wmOperatorType ot)
void PARTICLE_OT_dupliob_copy ( wmOperatorType ot)
void PARTICLE_OT_dupliob_move_down ( wmOperatorType ot)
void PARTICLE_OT_dupliob_move_up ( wmOperatorType ot)
void PARTICLE_OT_dupliob_remove ( wmOperatorType ot)
void PARTICLE_OT_new ( wmOperatorType ot)
void PARTICLE_OT_new_target ( wmOperatorType ot)
void PARTICLE_OT_target_move_down ( wmOperatorType ot)
void PARTICLE_OT_target_move_up ( wmOperatorType ot)
void PARTICLE_OT_target_remove ( wmOperatorType ot)
static int particle_system_add_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int particle_system_remove_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int psys_poll ( bContext C) [static]

Definition at line 140 of file particle_object.c.

References CTX_data_pointer_get_type(), PointerRNA::data, NULL, and RNA_ParticleSystem.

Referenced by PARTICLE_OT_new().

static int remove_particle_dupliob_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int remove_particle_target_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int target_move_down_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int target_move_up_exec ( bContext C,
wmOperator UNUSEDop 
) [static]