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>2018-05-31 12:07:14 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-31 12:07:14 +0300
commit24d1829243c6e41c639c1d0722a13599a7c1927c (patch)
tree1969bb05e65d1304994088aa3839df593dd050b3 /source/blender/editors/space_image/image_ops.c
parent84a9647f223d46ba6c159f00b3df1cbb41fde9d2 (diff)
Cleanup: nuke G.main out of BKE PackedFile code.
Diffstat (limited to 'source/blender/editors/space_image/image_ops.c')
-rw-r--r--source/blender/editors/space_image/image_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c
index e14e7820403..308ee61a2b8 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -2823,7 +2823,7 @@ static int image_unpack_exec(bContext *C, wmOperator *op)
/* XXX unpackImage frees image buffers */
ED_preview_kill_jobs(CTX_wm_manager(C), CTX_data_main(C));
- unpackImage(op->reports, ima, method);
+ unpackImage(CTX_data_main(C), op->reports, ima, method);
WM_event_add_notifier(C, NC_IMAGE | NA_EDITED, ima);