Blender V5.0
brush_asset_ops.cc File Reference
#include "BLI_fileops.h"
#include "BLI_listbase.h"
#include "BLI_path_utils.hh"
#include "BLI_string_utf8.h"
#include "DNA_brush_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "DNA_userdef_types.h"
#include "BKE_asset.hh"
#include "BKE_asset_edit.hh"
#include "BKE_blendfile.hh"
#include "BKE_brush.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_lib_id.hh"
#include "BKE_paint.hh"
#include "BKE_paint_types.hh"
#include "BKE_preferences.h"
#include "BKE_preview_image.hh"
#include "BKE_report.hh"
#include "AS_asset_catalog_path.hh"
#include "AS_asset_library.hh"
#include "AS_asset_representation.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "ED_asset.hh"
#include "ED_asset_library.hh"
#include "ED_asset_list.hh"
#include "ED_asset_mark_clear.hh"
#include "ED_asset_menu_utils.hh"
#include "ED_asset_shelf.hh"
#include "UI_interface_icons.hh"
#include "BLT_translation.hh"
#include "WM_api.hh"
#include "WM_toolsystem.hh"
#include "paint_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::sculpt_paint

Functions

static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_activate_exec (bContext *C, wmOperator *op)
void blender::ed::sculpt_paint::BRUSH_OT_asset_activate (wmOperatorType *ot)
static bool blender::ed::sculpt_paint::brush_asset_save_as_poll (bContext *C)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_save_as_exec (bContext *C, wmOperator *op)
static bool blender::ed::sculpt_paint::library_is_editable (const AssetLibraryReference &library)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_save_as_invoke (bContext *C, wmOperator *op, const wmEvent *)
static const EnumPropertyItemblender::ed::sculpt_paint::rna_asset_library_reference_itemf (bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
static void blender::ed::sculpt_paint::visit_library_prop_catalogs_catalog_for_search_fn (const bContext *C, PointerRNA *ptr, PropertyRNA *, const char *edit_text, FunctionRef< void(StringPropertySearchVisitParams)> visit_fn)
void blender::ed::sculpt_paint::BRUSH_OT_asset_save_as (wmOperatorType *ot)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_edit_metadata_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_edit_metadata_invoke (bContext *C, wmOperator *op, const wmEvent *)
static void blender::ed::sculpt_paint::visit_active_library_catalogs_catalog_for_search_fn (const bContext *C, PointerRNA *, PropertyRNA *, const char *edit_text, FunctionRef< void(StringPropertySearchVisitParams)> visit_fn)
static bool blender::ed::sculpt_paint::brush_asset_edit_metadata_poll (bContext *C)
void blender::ed::sculpt_paint::BRUSH_OT_asset_edit_metadata (wmOperatorType *ot)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_load_preview_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_load_preview_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::sculpt_paint::BRUSH_OT_asset_load_preview (wmOperatorType *ot)
static bool blender::ed::sculpt_paint::brush_asset_delete_poll (bContext *C)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_delete_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_delete_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::ed::sculpt_paint::BRUSH_OT_asset_delete (wmOperatorType *ot)
static std::optional< AssetLibraryReferenceblender::ed::sculpt_paint::get_asset_library_reference (const bContext &C, const Paint &paint, const Brush &brush)
static bool blender::ed::sculpt_paint::brush_asset_save_poll (bContext *C)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_save_exec (bContext *C, wmOperator *op)
void blender::ed::sculpt_paint::BRUSH_OT_asset_save (wmOperatorType *ot)
static bool blender::ed::sculpt_paint::brush_asset_revert_poll (bContext *C)
static wmOperatorStatus blender::ed::sculpt_paint::brush_asset_revert_exec (bContext *C, wmOperator *op)
void blender::ed::sculpt_paint::BRUSH_OT_asset_revert (wmOperatorType *ot)