114 ot->
name =
"Open Cache File";
148 ot->
name =
"Refresh Archive";
149 ot->
description =
"Update objects paths list with new data from the archive";
214 ot->
idname =
"CACHEFILE_OT_layer_add";
251 ot->
idname =
"CACHEFILE_OT_layer_remove";
291 {-1,
"UP", 0,
"Up",
""},
292 {1,
"DOWN", 0,
"Down",
""},
298 "Move layer in the list, layers further down the list will overwrite data from the layers "
300 ot->
idname =
"CACHEFILE_OT_layer_move";
313 "Direction to move the active vertex group towards");
struct CacheFileLayer * BKE_cachefile_add_layer(struct CacheFile *cache_file, const char filename[1024])
void BKE_cachefile_remove_layer(struct CacheFile *cache_file, struct CacheFileLayer *layer)
struct CacheFileLayer * BKE_cachefile_get_active_layer(struct CacheFile *cache_file)
void BKE_cachefile_reload(struct Depsgraph *depsgraph, struct CacheFile *cache_file)
struct Depsgraph * CTX_data_ensure_evaluated_depsgraph(const bContext *C)
struct CacheFile * CTX_data_edit_cachefile(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
void id_us_min(struct ID *id)
void * BKE_libblock_alloc(struct Main *bmain, short type, const char *name, int flag) ATTR_WARN_UNUSED_RESULT
const char * BKE_main_blendfile_path(const struct Main *bmain) ATTR_NONNULL()
void BKE_report(ReportList *reports, eReportType type, const char *message)
void void void bool BLI_listbase_link_move(ListBase *listbase, void *vlink, int step) ATTR_NONNULL()
int BLI_findindex(const struct ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
const char * BLI_path_basename(const char *path) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
bool BLI_path_extension_replace(char *path, size_t maxlen, const char *ext) ATTR_NONNULL()
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
struct Depsgraph Depsgraph
void DEG_id_tag_update(struct ID *id, int flag)
@ ID_RECALC_COPY_ON_WRITE
Read Guarded memory(de)allocation.
void UI_context_active_but_prop_get_templateID(struct bContext *C, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop)
const Depsgraph * depsgraph
static int cachefile_layer_remove_exec(bContext *C, wmOperator *UNUSED(op))
static void reload_cachefile(bContext *C, CacheFile *cache_file)
void CACHEFILE_OT_open(wmOperatorType *ot)
static int cachefile_open_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static int cachefile_layer_move_exec(bContext *C, wmOperator *op)
void CACHEFILE_OT_layer_remove(wmOperatorType *ot)
static int cachefile_open_exec(bContext *C, wmOperator *op)
void CACHEFILE_OT_layer_move(wmOperatorType *ot)
static void cachefile_init(bContext *C, wmOperator *op)
static int cachefile_layer_open_invoke(bContext *C, wmOperator *op, const wmEvent *event)
void CACHEFILE_OT_layer_add(wmOperatorType *ot)
static void open_cancel(bContext *UNUSED(C), wmOperator *op)
static int cachefile_reload_exec(bContext *C, wmOperator *UNUSED(op))
static int cachefile_layer_add_exec(bContext *C, wmOperator *op)
void CACHEFILE_OT_reload(wmOperatorType *ot)
void(* MEM_freeN)(void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
void RNA_string_set(PointerRNA *ptr, const char *name, const char *value)
void RNA_id_pointer_create(ID *id, PointerRNA *r_ptr)
void RNA_property_pointer_set(PointerRNA *ptr, PropertyRNA *prop, PointerRNA ptr_value, ReportList *reports)
void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
void RNA_string_get(PointerRNA *ptr, const char *name, char *value)
bool RNA_struct_property_is_set(PointerRNA *ptr, const char *identifier)
int RNA_enum_get(PointerRNA *ptr, const char *name)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, int default_value, const char *ui_name, const char *ui_description)
struct PropertyRNA * prop
int(* invoke)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
void(* cancel)(struct bContext *, struct wmOperator *)
int(* exec)(struct bContext *, struct wmOperator *) ATTR_WARN_UNUSED_RESULT
struct ReportList * reports
void WM_main_add_notifier(unsigned int type, void *reference)
void WM_event_add_fileselect(bContext *C, wmOperator *op)
void WM_report(eReportType type, const char *message)
void WM_operator_properties_filesel(wmOperatorType *ot, const int filter, const short type, const eFileSel_Action action, const eFileSel_Flag flag, const short display, const short sort)