Blender V4.3
asset_ops.cc File Reference
#include "AS_asset_library.hh"
#include "AS_asset_representation.hh"
#include "BKE_bpath.hh"
#include "BKE_context.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_preferences.h"
#include "BKE_report.hh"
#include "BLI_fnmatch.h"
#include "BLI_path_utils.hh"
#include "BLI_set.hh"
#include "ED_asset.hh"
#include "ED_screen.hh"
#include "ED_fileselect.hh"
#include "BLT_translation.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "DNA_space_types.h"

Go to the source code of this file.

Classes

struct  blender::ed::asset::IDVecStats
 
class  blender::ed::asset::AssetMarkHelper
 
class  blender::ed::asset::AssetClearHelper
 
struct  blender::ed::asset::FileCheckCallbackInfo
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::asset
 

Functions

static Vector< PointerRNAblender::ed::asset::get_single_id_vec_from_context (const bContext *C)
 
static Vector< PointerRNAblender::ed::asset::asset_operation_get_ids_from_context (const bContext *C)
 
static IDVecStats blender::ed::asset::asset_operation_get_id_vec_stats_from_ids (const Span< PointerRNA > id_pointers)
 
static const char * blender::ed::asset::asset_operation_unsupported_type_msg (const bool is_single)
 
static int blender::ed::asset::asset_mark_exec (const bContext *C, const wmOperator *op, const Span< PointerRNA > ids)
 
static bool blender::ed::asset::asset_mark_poll (bContext *C, const Span< PointerRNA > ids)
 
static void blender::ed::asset::ASSET_OT_mark (wmOperatorType *ot)
 
static void blender::ed::asset::ASSET_OT_mark_single (wmOperatorType *ot)
 
static int blender::ed::asset::asset_clear_exec (const bContext *C, const wmOperator *op, const Span< PointerRNA > ids)
 
static bool blender::ed::asset::asset_clear_poll (bContext *C, const Span< PointerRNA > ids)
 
static std::string blender::ed::asset::asset_clear_get_description (bContext *, wmOperatorType *, PointerRNA *ptr)
 
static void blender::ed::asset::ASSET_OT_clear (wmOperatorType *ot)
 
static void blender::ed::asset::ASSET_OT_clear_single (wmOperatorType *ot)
 
static bool blender::ed::asset::asset_library_refresh_poll (bContext *C)
 
static int blender::ed::asset::asset_library_refresh_exec (bContext *C, wmOperator *)
 
static void blender::ed::asset::ASSET_OT_library_refresh (wmOperatorType *ot)
 
static bool blender::ed::asset::asset_catalog_operator_poll (bContext *C)
 
static int blender::ed::asset::asset_catalog_new_exec (bContext *C, wmOperator *op)
 
static void blender::ed::asset::ASSET_OT_catalog_new (wmOperatorType *ot)
 
static int blender::ed::asset::asset_catalog_delete_exec (bContext *C, wmOperator *op)
 
static void blender::ed::asset::ASSET_OT_catalog_delete (wmOperatorType *ot)
 
static asset_system::AssetCatalogServiceblender::ed::asset::get_catalog_service (bContext *C)
 
static int blender::ed::asset::asset_catalog_undo_exec (bContext *C, wmOperator *)
 
static bool blender::ed::asset::asset_catalog_undo_poll (bContext *C)
 
static void blender::ed::asset::ASSET_OT_catalog_undo (wmOperatorType *ot)
 
static int blender::ed::asset::asset_catalog_redo_exec (bContext *C, wmOperator *)
 
static bool blender::ed::asset::asset_catalog_redo_poll (bContext *C)
 
static void blender::ed::asset::ASSET_OT_catalog_redo (wmOperatorType *ot)
 
static int blender::ed::asset::asset_catalog_undo_push_exec (bContext *C, wmOperator *)
 
static bool blender::ed::asset::asset_catalog_undo_push_poll (bContext *C)
 
static void blender::ed::asset::ASSET_OT_catalog_undo_push (wmOperatorType *ot)
 
static bool blender::ed::asset::asset_catalogs_save_poll (bContext *C)
 
static int blender::ed::asset::asset_catalogs_save_exec (bContext *C, wmOperator *)
 
static void blender::ed::asset::ASSET_OT_catalogs_save (wmOperatorType *ot)
 
static bool blender::ed::asset::could_be_asset_bundle (const Main *bmain)
 
static const bUserAssetLibraryblender::ed::asset::selected_asset_library (wmOperator *op)
 
static bool blender::ed::asset::is_contained_in_selected_asset_library (wmOperator *op, const char *filepath)
 
static bool blender::ed::asset::set_filepath_for_asset_lib (const Main *bmain, wmOperator *op)
 
static bool blender::ed::asset::has_external_files (Main *bmain, ReportList *reports)
 
static bool blender::ed::asset::asset_bundle_install_poll (bContext *C)
 
static int blender::ed::asset::asset_bundle_install_invoke (bContext *C, wmOperator *op, const wmEvent *)
 
static int blender::ed::asset::asset_bundle_install_exec (bContext *C, wmOperator *op)
 
static const EnumPropertyItemblender::ed::asset::rna_asset_library_reference_itemf (bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
 
static void blender::ed::asset::ASSET_OT_bundle_install (wmOperatorType *ot)
 
static bool blender::ed::asset::external_file_check_callback (BPathForeachPathData *bpath_data, char *, size_t, const char *path_src)
 
void blender::ed::asset::operatortypes_asset ()