Blender  V3.3
Functions
object_collection.c File Reference
#include <string.h>
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "DNA_collection_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BKE_collection.h"
#include "BKE_context.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "RNA_prototypes.h"
#include "UI_interface_icons.h"
#include "object_intern.h"

Go to the source code of this file.

Functions

static const EnumPropertyItemcollection_object_active_itemf (bContext *C, PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free)
 
static Collectioncollection_object_active_find_index (Main *bmain, Scene *scene, Object *ob, const int collection_object_index)
 
static int objects_add_active_exec (bContext *C, wmOperator *op)
 
void COLLECTION_OT_objects_add_active (wmOperatorType *ot)
 
static int objects_remove_active_exec (bContext *C, wmOperator *op)
 
void COLLECTION_OT_objects_remove_active (wmOperatorType *ot)
 
static int collection_objects_remove_all_exec (bContext *C, wmOperator *UNUSED(op))
 
void COLLECTION_OT_objects_remove_all (wmOperatorType *ot)
 
static int collection_objects_remove_exec (bContext *C, wmOperator *op)
 
void COLLECTION_OT_objects_remove (wmOperatorType *ot)
 
static int collection_create_exec (bContext *C, wmOperator *op)
 
void COLLECTION_OT_create (wmOperatorType *ot)
 
static int collection_add_exec (bContext *C, wmOperator *UNUSED(op))
 
void OBJECT_OT_collection_add (wmOperatorType *ot)
 
static int collection_link_exec (bContext *C, wmOperator *op)
 
void OBJECT_OT_collection_link (wmOperatorType *ot)
 
static int collection_remove_exec (bContext *C, wmOperator *op)
 
void OBJECT_OT_collection_remove (wmOperatorType *ot)
 
static int collection_unlink_exec (bContext *C, wmOperator *op)
 
void OBJECT_OT_collection_unlink (wmOperatorType *ot)
 
static int select_grouped_exec (bContext *C, wmOperator *UNUSED(op))
 
void OBJECT_OT_collection_objects_select (wmOperatorType *ot)
 

Function Documentation

◆ collection_add_exec()

static int collection_add_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ collection_create_exec()

static int collection_create_exec ( bContext C,
wmOperator op 
)
static

◆ collection_link_exec()

static int collection_link_exec ( bContext C,
wmOperator op 
)
static

◆ collection_object_active_find_index()

static Collection* collection_object_active_find_index ( Main bmain,
Scene scene,
Object ob,
const int  collection_object_index 
)
static

◆ collection_object_active_itemf()

static const EnumPropertyItem* collection_object_active_itemf ( bContext C,
PointerRNA UNUSEDptr,
PropertyRNA UNUSEDprop,
bool r_free 
)
static

◆ collection_objects_remove_all_exec()

static int collection_objects_remove_all_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ collection_objects_remove_exec()

static int collection_objects_remove_exec ( bContext C,
wmOperator op 
)
static

◆ COLLECTION_OT_create()

void COLLECTION_OT_create ( wmOperatorType ot)

◆ COLLECTION_OT_objects_add_active()

void COLLECTION_OT_objects_add_active ( wmOperatorType ot)

◆ COLLECTION_OT_objects_remove()

void COLLECTION_OT_objects_remove ( wmOperatorType ot)

◆ COLLECTION_OT_objects_remove_active()

void COLLECTION_OT_objects_remove_active ( wmOperatorType ot)

◆ COLLECTION_OT_objects_remove_all()

void COLLECTION_OT_objects_remove_all ( wmOperatorType ot)

◆ collection_remove_exec()

static int collection_remove_exec ( bContext C,
wmOperator op 
)
static

◆ collection_unlink_exec()

static int collection_unlink_exec ( bContext C,
wmOperator op 
)
static

◆ OBJECT_OT_collection_add()

void OBJECT_OT_collection_add ( wmOperatorType ot)

◆ OBJECT_OT_collection_link()

void OBJECT_OT_collection_link ( wmOperatorType ot)

◆ OBJECT_OT_collection_objects_select()

void OBJECT_OT_collection_objects_select ( wmOperatorType ot)

◆ OBJECT_OT_collection_remove()

void OBJECT_OT_collection_remove ( wmOperatorType ot)

◆ OBJECT_OT_collection_unlink()

void OBJECT_OT_collection_unlink ( wmOperatorType ot)

◆ objects_add_active_exec()

static int objects_add_active_exec ( bContext C,
wmOperator op 
)
static

◆ objects_remove_active_exec()

static int objects_remove_active_exec ( bContext C,
wmOperator op 
)
static

◆ select_grouped_exec()

static int select_grouped_exec ( bContext C,
wmOperator UNUSEDop 
)
static