Blender  V3.3
Functions
rigidbody_world.c File Reference

Rigid Body world editing operators. More...

#include <stdlib.h>
#include <string.h>
#include "DNA_object_types.h"
#include "DNA_rigidbody_types.h"
#include "DNA_scene_types.h"
#include "BKE_context.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "BKE_rigidbody.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_screen.h"
#include "physics_intern.h"

Go to the source code of this file.

Functions

static bool ED_rigidbody_world_active_poll (bContext *C)
 
static bool ED_rigidbody_world_add_poll (bContext *C)
 
static int rigidbody_world_add_exec (bContext *C, wmOperator *UNUSED(op))
 
void RIGIDBODY_OT_world_add (wmOperatorType *ot)
 
static int rigidbody_world_remove_exec (bContext *C, wmOperator *op)
 
void RIGIDBODY_OT_world_remove (wmOperatorType *ot)
 
static int rigidbody_world_export_exec (bContext *C, wmOperator *op)
 
static int rigidbody_world_export_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
void RIGIDBODY_OT_world_export (wmOperatorType *ot)
 

Detailed Description

Rigid Body world editing operators.

Definition in file rigidbody_world.c.

Function Documentation

◆ ED_rigidbody_world_active_poll()

static bool ED_rigidbody_world_active_poll ( bContext C)
static

◆ ED_rigidbody_world_add_poll()

static bool ED_rigidbody_world_add_poll ( bContext C)
static

Definition at line 46 of file rigidbody_world.c.

References C, CTX_data_scene(), NULL, Scene::rigidbody_world, and scene.

Referenced by RIGIDBODY_OT_world_add().

◆ RIGIDBODY_OT_world_add()

void RIGIDBODY_OT_world_add ( wmOperatorType ot)

◆ RIGIDBODY_OT_world_export()

void RIGIDBODY_OT_world_export ( wmOperatorType ot)

◆ RIGIDBODY_OT_world_remove()

void RIGIDBODY_OT_world_remove ( wmOperatorType ot)

◆ rigidbody_world_add_exec()

static int rigidbody_world_add_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ rigidbody_world_export_exec()

static int rigidbody_world_export_exec ( bContext C,
wmOperator op 
)
static

◆ rigidbody_world_export_invoke()

static int rigidbody_world_export_invoke ( bContext C,
wmOperator op,
const wmEvent UNUSEDevent 
)
static

◆ rigidbody_world_remove_exec()

static int rigidbody_world_remove_exec ( bContext C,
wmOperator op 
)
static