|
Blender
V2.93
|
#include "BKE_asset.h"#include "BKE_context.h"#include "BKE_lib_id.h"#include "DNA_ID.h"#include "UI_interface_icons.h"#include "RNA_access.h"#include "ED_asset.h"Go to the source code of this file.
Functions | |
| bool | ED_asset_mark_id (const bContext *C, ID *id) |
| bool | ED_asset_clear_id (ID *id) |
| bool | ED_asset_can_make_single_from_context (const bContext *C) |
| bool ED_asset_can_make_single_from_context | ( | const bContext * | C | ) |
Definition at line 63 of file asset_edit.cc.
References C, CTX_data_pointer_get_type_silent(), PointerRNA::data, and RNA_ID.
Referenced by ui_popup_context_menu_for_button().
| bool ED_asset_clear_id | ( | 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()().
Definition at line 33 of file asset_edit.cc.
References ID::asset_data, BKE_asset_metadata_create(), BKE_id_can_be_asset(), C, ICON_SIZE_PREVIEW, id, id_fake_user_set(), and UI_icon_render_id().
Referenced by AssetMarkHelper::operator()().