|
Blender V5.0
|
#include "MEM_guardedalloc.h"#include "DNA_cachefile_types.h"#include "DNA_space_types.h"#include "BLI_listbase.h"#include "BLI_path_utils.hh"#include "BLI_string.h"#include "BKE_cachefile.hh"#include "BKE_context.hh"#include "BKE_lib_id.hh"#include "BKE_main.hh"#include "BKE_report.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "DEG_depsgraph.hh"#include "UI_interface.hh"#include "WM_api.hh"#include "WM_types.hh"#include "io_cache.hh"Go to the source code of this file.
/
Definition in file io_cache.cc.
|
static |
Definition at line 42 of file io_cache.cc.
References C, wmOperator::customdata, PropertyPointerRNA::prop, PropertyPointerRNA::ptr, and UI_context_active_but_prop_get_templateID().
Referenced by cachefile_open_invoke().
|
static |
Definition at line 187 of file io_cache.cc.
References BKE_cachefile_add_layer(), BKE_report(), C, wmOperator::customdata, FILE_MAX, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, reload_cachefile(), wmOperator::reports, RNA_string_get(), RNA_struct_property_is_set(), RPT_ERROR, WM_global_report(), and WM_main_add_notifier().
Referenced by CACHEFILE_OT_layer_add().
|
static |
Definition at line 267 of file io_cache.cc.
References CacheFile::active_layer, BKE_cachefile_get_active_layer(), BLI_findindex(), BLI_listbase_link_move(), C, CTX_data_edit_cachefile(), CacheFile::layers, NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, reload_cachefile(), RNA_enum_get(), and WM_main_add_notifier().
Referenced by CACHEFILE_OT_layer_move().
|
static |
Definition at line 166 of file io_cache.cc.
References BKE_main_blendfile_path(), BLI_path_split_dir_part(), C, CTX_data_edit_cachefile(), CTX_data_main(), wmOperator::customdata, FILE_MAX, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_string_set(), RNA_struct_property_is_set(), and WM_event_add_fileselect().
Referenced by CACHEFILE_OT_layer_add().
|
static |
Definition at line 236 of file io_cache.cc.
References BKE_cachefile_get_active_layer(), BKE_cachefile_remove_layer(), C, CTX_data_edit_cachefile(), NC_OBJECT, ND_DRAW, OPERATOR_CANCELLED, OPERATOR_FINISHED, reload_cachefile(), and WM_main_add_notifier().
Referenced by CACHEFILE_OT_layer_remove().
|
static |
Definition at line 79 of file io_cache.cc.
References BKE_libblock_alloc(), BKE_report(), BLI_path_basename(), C, CTX_data_main(), wmOperator::customdata, DEG_id_tag_update(), FILE_MAX, CacheFile::filepath, CacheFile::id, ID_CF, ID_RECALC_SYNC_TO_EVAL, id_us_min(), OPERATOR_CANCELLED, OPERATOR_FINISHED, PropertyPointerRNA::prop, PropertyPointerRNA::ptr, wmOperator::ptr, wmOperator::reports, RNA_id_pointer_create(), RNA_property_pointer_set(), RNA_property_update(), RNA_string_get(), RNA_struct_property_is_set(), RPT_ERROR, and STRNCPY().
Referenced by CACHEFILE_OT_open().
|
static |
Definition at line 50 of file io_cache.cc.
References BKE_main_blendfile_path(), BLI_path_split_dir_part(), C, cachefile_init(), CTX_data_main(), FILE_MAX, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_string_set(), RNA_struct_property_is_set(), and WM_event_add_fileselect().
Referenced by CACHEFILE_OT_open().
| void CACHEFILE_OT_layer_add | ( | wmOperatorType * | ot | ) |
Definition at line 215 of file io_cache.cc.
References cachefile_layer_add_exec(), cachefile_layer_open_invoke(), FILE_BLENDER, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_TYPE_ALEMBIC, FILE_TYPE_FOLDER, FILE_TYPE_USD, ot, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_io().
| void CACHEFILE_OT_layer_move | ( | wmOperatorType * | ot | ) |
Definition at line 293 of file io_cache.cc.
References cachefile_layer_move_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_enum().
Referenced by ED_operatortypes_io().
| void CACHEFILE_OT_layer_remove | ( | wmOperatorType * | ot | ) |
Definition at line 252 of file io_cache.cc.
References cachefile_layer_remove_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_io().
| void CACHEFILE_OT_open | ( | wmOperatorType * | ot | ) |
Definition at line 117 of file io_cache.cc.
References cachefile_open_exec(), cachefile_open_invoke(), FILE_BLENDER, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_TYPE_ALEMBIC, FILE_TYPE_FOLDER, FILE_TYPE_USD, open_cancel(), ot, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_io().
| void CACHEFILE_OT_reload | ( | wmOperatorType * | ot | ) |
Definition at line 151 of file io_cache.cc.
References cachefile_reload_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_io().
|
static |
Definition at line 138 of file io_cache.cc.
References C, CTX_data_edit_cachefile(), OPERATOR_CANCELLED, OPERATOR_FINISHED, and reload_cachefile().
Referenced by CACHEFILE_OT_reload().
|
static |
Definition at line 70 of file io_cache.cc.
References wmOperator::customdata.
Referenced by CACHEFILE_OT_open(), and CLIP_OT_open().
Definition at line 36 of file io_cache.cc.
References BKE_cachefile_reload(), C, CTX_data_ensure_evaluated_depsgraph(), and depsgraph.
Referenced by cachefile_layer_add_exec(), cachefile_layer_move_exec(), cachefile_layer_remove_exec(), and cachefile_reload_exec().