Blender  V2.93
blender_copybuffer.c File Reference
#include <stdlib.h>
#include "MEM_guardedalloc.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_userdef_types.h"
#include "DNA_view3d_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "IMB_imbuf.h"
#include "IMB_moviecache.h"
#include "BKE_blender_copybuffer.h"
#include "BKE_blendfile.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_layer.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
#include "BKE_scene.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"
#include "BLO_readfile.h"
#include "BLO_writefile.h"
#include "IMB_colormanagement.h"

Go to the source code of this file.

Functions

Copy/Paste <tt>.blend</tt>, partial saves.
void BKE_copybuffer_begin (Main *bmain_src)
 
void BKE_copybuffer_tag_ID (ID *id)
 
bool BKE_copybuffer_save (Main *bmain_src, const char *filename, ReportList *reports)
 
bool BKE_copybuffer_read (Main *bmain_dst, const char *libname, ReportList *reports, const uint64_t id_types_mask)
 
int BKE_copybuffer_paste (bContext *C, const char *libname, const short flag, ReportList *reports, const uint64_t id_types_mask)
 

Detailed Description

Used for copy/paste operator, (using a temporary file).

Definition in file blender_copybuffer.c.

Function Documentation

◆ BKE_copybuffer_begin()

void BKE_copybuffer_begin ( Main bmain_src)

◆ BKE_copybuffer_paste()

int BKE_copybuffer_paste ( bContext C,
const char *  libname,
const short  flag,
ReportList reports,
const uint64_t  id_types_mask 
)

◆ BKE_copybuffer_read()

bool BKE_copybuffer_read ( Main bmain_dst,
const char *  libname,
ReportList reports,
const uint64_t  id_types_mask 
)

◆ BKE_copybuffer_save()

bool BKE_copybuffer_save ( Main bmain_src,
const char *  filename,
ReportList reports 
)

◆ BKE_copybuffer_tag_ID()

void BKE_copybuffer_tag_ID ( ID id)