Main API: refactor naming, use BKE_main_ prefix and add main arg.

This commit is contained in:
2013-12-30 13:25:27 +11:00
parent 19103b4437
commit 0d6ae3fda2
21 changed files with 130 additions and 119 deletions

View File

@@ -103,7 +103,7 @@ extern int BKE_undo_save_file(const char *filename);
extern struct Main *BKE_undo_get_main(struct Scene **scene);
/* copybuffer */
void BKE_copybuffer_begin(void);
void BKE_copybuffer_begin(struct Main *bmain);
void BKE_copybuffer_tag_ID(struct ID *id);
int BKE_copybuffer_save(const char *filename, struct ReportList *reports);
int BKE_copybuffer_paste(struct bContext *C, const char *libname, struct ReportList *reports);