Blender  V3.3
Functions | Variables
object_data_transfer.c File Reference
#include "DNA_mesh_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_data_transfer.h"
#include "BKE_deform.h"
#include "BKE_mesh_mapping.h"
#include "BKE_mesh_remap.h"
#include "BKE_mesh_runtime.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "BLT_translation.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "RNA_prototypes.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_object.h"
#include "object_intern.h"

Go to the source code of this file.

Functions

static void dt_add_vcol_layers (CustomData *cdata, eCustomDataMask mask, EnumPropertyItem **r_item, int *r_totitem)
 
static const EnumPropertyItemdt_layers_select_src_itemf (bContext *C, PointerRNA *ptr, PropertyRNA *UNUSED(prop), bool *r_free)
 
static const EnumPropertyItemdt_layers_select_dst_itemf (bContext *C, PointerRNA *ptr, PropertyRNA *UNUSED(prop), bool *r_free)
 
static const EnumPropertyItemdt_layers_select_itemf (bContext *C, PointerRNA *ptr, PropertyRNA *prop, bool *r_free)
 
static const EnumPropertyItemdt_mix_mode_itemf (bContext *C, PointerRNA *ptr, PropertyRNA *UNUSED(prop), bool *r_free)
 
static bool data_transfer_check (bContext *UNUSED(C), wmOperator *op)
 
static void data_transfer_exec_preprocess_objects (bContext *C, wmOperator *op, Object *ob_src, ListBase *ctx_objects, const bool reverse_transfer)
 
static bool data_transfer_exec_is_object_valid (wmOperator *op, Object *ob_src, Object *ob_dst, const bool reverse_transfer)
 
static int data_transfer_exec (bContext *C, wmOperator *op)
 
static bool data_transfer_poll (bContext *C)
 
static bool data_transfer_poll_property (const bContext *UNUSED(C), wmOperator *op, const PropertyRNA *prop)
 
static char * data_transfer_get_description (bContext *UNUSED(C), wmOperatorType *UNUSED(ot), PointerRNA *ptr)
 
void OBJECT_OT_data_transfer (wmOperatorType *ot)
 
static bool datalayout_transfer_poll (bContext *C)
 
static int datalayout_transfer_exec (bContext *C, wmOperator *op)
 
static int datalayout_transfer_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
void OBJECT_OT_datalayout_transfer (wmOperatorType *ot)
 

Variables

static const EnumPropertyItem DT_layer_items []
 

Function Documentation

◆ data_transfer_check()

static bool data_transfer_check ( bContext UNUSEDC,
wmOperator op 
)
static

◆ data_transfer_exec()

static int data_transfer_exec ( bContext C,
wmOperator op 
)
static

◆ data_transfer_exec_is_object_valid()

static bool data_transfer_exec_is_object_valid ( wmOperator op,
Object ob_src,
Object ob_dst,
const bool  reverse_transfer 
)
static

◆ data_transfer_exec_preprocess_objects()

static void data_transfer_exec_preprocess_objects ( bContext C,
wmOperator op,
Object ob_src,
ListBase ctx_objects,
const bool  reverse_transfer 
)
static

◆ data_transfer_get_description()

static char* data_transfer_get_description ( bContext UNUSEDC,
wmOperatorType UNUSEDot,
PointerRNA ptr 
)
static

Definition at line 641 of file object_data_transfer.c.

References BLI_strdup(), NULL, ptr, RNA_boolean_get(), and TIP_.

Referenced by OBJECT_OT_data_transfer().

◆ data_transfer_poll()

static bool data_transfer_poll ( bContext C)
static

◆ data_transfer_poll_property()

static bool data_transfer_poll_property ( const bContext UNUSEDC,
wmOperator op,
const PropertyRNA prop 
)
static

◆ datalayout_transfer_exec()

static int datalayout_transfer_exec ( bContext C,
wmOperator op 
)
static

◆ datalayout_transfer_invoke()

static int datalayout_transfer_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ datalayout_transfer_poll()

static bool datalayout_transfer_poll ( bContext C)
static

◆ dt_add_vcol_layers()

static void dt_add_vcol_layers ( CustomData cdata,
eCustomDataMask  mask,
EnumPropertyItem **  r_item,
int *  r_totitem 
)
static

◆ dt_layers_select_dst_itemf()

static const EnumPropertyItem* dt_layers_select_dst_itemf ( bContext C,
PointerRNA ptr,
PropertyRNA UNUSEDprop,
bool r_free 
)
static

◆ dt_layers_select_itemf()

static const EnumPropertyItem* dt_layers_select_itemf ( bContext C,
PointerRNA ptr,
PropertyRNA prop,
bool r_free 
)
static

◆ dt_layers_select_src_itemf()

static const EnumPropertyItem* dt_layers_select_src_itemf ( bContext C,
PointerRNA ptr,
PropertyRNA UNUSEDprop,
bool r_free 
)
static

◆ dt_mix_mode_itemf()

static const EnumPropertyItem* dt_mix_mode_itemf ( bContext C,
PointerRNA ptr,
PropertyRNA UNUSEDprop,
bool r_free 
)
static

◆ OBJECT_OT_data_transfer()

void OBJECT_OT_data_transfer ( struct wmOperatorType ot)

◆ OBJECT_OT_datalayout_transfer()

void OBJECT_OT_datalayout_transfer ( wmOperatorType ot)

Variable Documentation

◆ DT_layer_items

const EnumPropertyItem DT_layer_items[]
static