Blender  V2.93
Functions
ED_asset.h File Reference

Go to the source code of this file.

Functions

bool ED_asset_mark_id (const struct bContext *C, struct ID *id)
 
bool ED_asset_clear_id (struct ID *id)
 
bool ED_asset_can_make_single_from_context (const struct bContext *C)
 
void ED_operatortypes_asset (void)
 

Function Documentation

◆ ED_asset_can_make_single_from_context()

bool ED_asset_can_make_single_from_context ( const struct bContext C)

◆ ED_asset_clear_id()

bool ED_asset_clear_id ( struct ID id)

Definition at line 51 of file asset_edit.cc.

References ID::asset_data, BKE_asset_metadata_free(), and id.

Referenced by file_delete_single(), and AssetClearHelper::operator()().

◆ ED_asset_mark_id()

bool ED_asset_mark_id ( const struct bContext C,
struct ID id 
)

◆ ED_operatortypes_asset()

void ED_operatortypes_asset ( void  )

Definition at line 255 of file asset_ops.cc.

References ASSET_OT_clear(), ASSET_OT_mark(), and WM_operatortype_append().

Referenced by ED_spacetypes_init().