Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-06-28 17:01:04 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-06-28 17:01:04 +0400
commit4c83fae16dfe72c5086602fd4655827a8a18bbbb (patch)
tree72b50b3357c1ad8ca623507d9e6039944a3e0ef4 /source/blender/editors/space_view3d
parenta8233d7c4424d2a41d8abfd4c9d6ca4ea56a56f2 (diff)
Fix 40841: Copy and Paste objects no longer functions from one running instance of Blender to another.
Own mistake in recent temp data handling refactor, copy/paste temp .blend file needs to be in non-session-specific temp dir...
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/view3d_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_ops.c b/source/blender/editors/space_view3d/view3d_ops.c
index 612bdfa27b9..7e101fea138 100644
--- a/source/blender/editors/space_view3d/view3d_ops.c
+++ b/source/blender/editors/space_view3d/view3d_ops.c
@@ -77,7 +77,7 @@ static int view3d_copybuffer_exec(bContext *C, wmOperator *op)
}
CTX_DATA_END;
- BLI_make_file_string("/", str, BLI_temp_dir_session(), "copybuffer.blend");
+ BLI_make_file_string("/", str, BLI_temp_dir_base(), "copybuffer.blend");
BKE_copybuffer_save(str, op->reports);
BKE_report(op->reports, RPT_INFO, "Copied selected objects to buffer");
@@ -102,7 +102,7 @@ static int view3d_pastebuffer_exec(bContext *C, wmOperator *op)
{
char str[FILE_MAX];
- BLI_make_file_string("/", str, BLI_temp_dir_session(), "copybuffer.blend");
+ BLI_make_file_string("/", str, BLI_temp_dir_base(), "copybuffer.blend");
if (BKE_copybuffer_paste(C, str, op->reports)) {
WM_event_add_notifier(C, NC_WINDOW, NULL);