122 ot->
name =
"Open Cache File";
157 ot->
name =
"Refresh Archive";
158 ot->
description =
"Update objects paths list with new data from the archive";
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, const int flag) ATTR_WARN_UNUSED_RESULT
const char * BKE_main_blendfile_path(const struct Main *bmain) ATTR_NONNULL()
void BKE_report(ReportList *reports, ReportType type, const char *message)
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, const 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)
#define WM_FILESEL_RELPATH
#define WM_FILESEL_FILEPATH
const Depsgraph * depsgraph
void CACHEFILE_OT_open(wmOperatorType *ot)
static int cachefile_open_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static int cachefile_open_exec(bContext *C, wmOperator *op)
static void cachefile_init(bContext *C, wmOperator *op)
static void open_cancel(bContext *UNUSED(C), wmOperator *op)
static int cachefile_reload_exec(bContext *C, wmOperator *UNUSED(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)
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_event_add_fileselect(bContext *C, wmOperator *op)
void WM_operator_properties_filesel(wmOperatorType *ot, int filter, short type, short action, short flag, short display, short sort)