|
Blender
V2.93
|
#include "BLI_sys_types.h"Go to the source code of this file.
Functions | |
| void | BKE_copybuffer_begin (struct Main *bmain_src) |
| void | BKE_copybuffer_tag_ID (struct ID *id) |
| bool | BKE_copybuffer_save (struct Main *bmain_src, const char *filename, struct ReportList *reports) |
| bool | BKE_copybuffer_read (struct Main *bmain_dst, const char *libname, struct ReportList *reports, const uint64_t id_types_mask) |
| int | BKE_copybuffer_paste (struct bContext *C, const char *libname, const short flag, struct ReportList *reports, const uint64_t id_types_mask) |
| void BKE_copybuffer_begin | ( | struct Main * | bmain_src | ) |
Definition at line 60 of file blender_copybuffer.c.
References BKE_blendfile_write_partial_begin().
Referenced by outliner_id_copy_exec(), pose_copy_exec(), and view3d_copybuffer_exec().
| int BKE_copybuffer_paste | ( | bContext * | C, |
| const char * | libname, | ||
| const short | flag, | ||
| ReportList * | reports, | ||
| const uint64_t | id_types_mask | ||
| ) |
Definition at line 121 of file blender_copybuffer.c.
References BKE_library_make_local(), BKE_main_id_tag_all(), BKE_main_lib_objects_recalc_all(), BKE_view_layer_base_deselect_all(), BLI_findstring(), BLO_blendhandle_close(), BLO_blendhandle_from_file(), BLO_library_link_begin(), BLO_library_link_copypaste(), BLO_library_link_end(), BLO_library_link_params_init_with_context(), LibraryLink_Params::bmain, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), DEG_relations_tag_update(), LibraryLink_Params::flag, Scene::id, LibraryLink_Params::id_tag_extra, IMB_colormanagement_check_file_config(), lib, LIB_TAG_PRE_EXISTING, Main::libraries, NULL, scene, LibraryLink_Params::v3d, and LibraryLink_Params::view_layer.
Referenced by outliner_id_paste_exec(), and view3d_pastebuffer_exec().
| bool BKE_copybuffer_read | ( | struct Main * | bmain_dst, |
| const char * | libname, | ||
| struct ReportList * | reports, | ||
| const uint64_t | id_types_mask | ||
| ) |
Definition at line 85 of file blender_copybuffer.c.
References BKE_library_make_local(), BKE_main_id_tag_all(), BKE_main_lib_objects_recalc_all(), BLI_findstring(), BLO_blendhandle_close(), BLO_blendhandle_from_file(), BLO_library_link_begin(), BLO_library_link_copypaste(), BLO_library_link_end(), BLO_library_link_params_init(), LibraryLink_Params::flag, LibraryLink_Params::id_tag_extra, IMB_colormanagement_check_file_config(), lib, LIB_TAG_PRE_EXISTING, Main::libraries, and NULL.
Referenced by pose_paste_exec().
| bool BKE_copybuffer_save | ( | Main * | bmain_src, |
| const char * | filename, | ||
| ReportList * | reports | ||
| ) |
Definition at line 73 of file blender_copybuffer.c.
References BKE_blendfile_write_partial(), BKE_blendfile_write_partial_end(), and BLO_WRITE_PATH_REMAP_RELATIVE.
Referenced by outliner_id_copy_exec(), pose_copy_exec(), and view3d_copybuffer_exec().
| void BKE_copybuffer_tag_ID | ( | struct ID * | id | ) |
Definition at line 65 of file blender_copybuffer.c.
References BKE_blendfile_write_partial_tag_ID().
Referenced by outliner_id_copy_tag(), pose_copy_exec(), and view3d_copybuffer_exec().