77 ot->
idname =
"RIGIDBODY_OT_world_add";
78 ot->
name =
"Add Rigid Body World";
79 ot->
description =
"Add Rigid Body simulation world to the current scene";
116 ot->
idname =
"RIGIDBODY_OT_world_remove";
117 ot->
name =
"Remove Rigid Body World";
118 ot->
description =
"Remove Rigid Body simulation world from the current scene";
146 op->
reports,
RPT_ERROR,
"Rigid Body World has no associated physics data to export");
177 ot->
idname =
"RIGIDBODY_OT_world_export";
178 ot->
name =
"Export Rigid Body World";
180 "Export Rigid Body world to simulator's own fileformat (i.e. '.bullet' for Bullet Physics)";
struct Scene * CTX_data_scene(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
void BKE_report(ReportList *reports, eReportType type, const char *message)
API for Blender-side Rigid Body stuff.
void BKE_rigidbody_free_world(struct Scene *scene)
struct RigidBodyWorld * BKE_rigidbody_create_world(struct Scene *scene)
void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, int flag)
void DEG_relations_tag_update(struct Main *bmain)
Object is a sort of wrapper for general info.
Types and defines for representing Rigid Body entities.
Rigid Body API for interfacing with external Physics Engines.
void RB_dworld_export(rbDynamicsWorld *world, const char *filename)
void RIGIDBODY_OT_world_remove(wmOperatorType *ot)
static int rigidbody_world_add_exec(bContext *C, wmOperator *UNUSED(op))
static bool ED_rigidbody_world_active_poll(bContext *C)
static int rigidbody_world_export_exec(bContext *C, wmOperator *op)
static int rigidbody_world_remove_exec(bContext *C, wmOperator *op)
void RIGIDBODY_OT_world_export(wmOperatorType *ot)
void RIGIDBODY_OT_world_add(wmOperatorType *ot)
static int rigidbody_world_export_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
static bool ED_rigidbody_world_add_poll(bContext *C)
void RNA_string_set(PointerRNA *ptr, const char *name, const char *value)
void RNA_boolean_set(PointerRNA *ptr, const char *name, bool value)
void RNA_string_get(PointerRNA *ptr, const char *name, char *value)
bool RNA_struct_property_is_set(PointerRNA *ptr, const char *identifier)
struct RigidBodyWorld_Shared * shared
struct RigidBodyWorld * rigidbody_world
int(* invoke)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
bool(* poll)(struct bContext *) ATTR_WARN_UNUSED_RESULT
int(* exec)(struct bContext *, struct wmOperator *) ATTR_WARN_UNUSED_RESULT
struct ReportList * reports
void WM_event_add_fileselect(bContext *C, wmOperator *op)
void WM_operator_properties_filesel(wmOperatorType *ot, const int filter, const short type, const eFileSel_Action action, const eFileSel_Flag flag, const short display, const short sort)