Blender
V3.3
|
Public Member Functions | |
AssetClearHelper (const bool set_fake_user) | |
void | operator() (PointerRNAVec &ids) |
void | reportResults (const bContext *C, ReportList &reports) const |
bool | wasSuccessful () const |
Definition at line 233 of file asset_ops.cc.
|
inline |
Definition at line 237 of file asset_ops.cc.
void AssetClearHelper::operator() | ( | PointerRNAVec & | ids | ) |
Definition at line 255 of file asset_ops.cc.
References ID::asset_data, BLI_assert, PointerRNA::data, ED_asset_clear_id(), id, id_fake_user_set(), ptr, RNA_struct_is_ID(), and PointerRNA::type.
void AssetClearHelper::reportResults | ( | const bContext * | C, |
ReportList & | reports | ||
) | const |
Definition at line 278 of file asset_ops.cc.
References BKE_report(), BKE_reportf(), C, CTX_wm_asset_handle(), ED_asset_handle_get_local_id(), is_valid, RPT_ERROR, and RPT_INFO.
Referenced by asset_clear_exec().
bool AssetClearHelper::wasSuccessful | ( | ) | const |
Definition at line 305 of file asset_ops.cc.
Referenced by asset_clear_exec().