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-06-01 18:08:38 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-06-01 18:08:38 +0300
commit051e186d5c61dccfc776b8da9b83c598421be4e7 (patch)
tree8f00c5a6262ca522fcd11a8540aee637a5aa8245 /source/blender/editors/util
parent7c75c2db4f97e192d76761afe0cdb4391bdc0ec1 (diff)
Cleanup: some more G.main removal from editor code.
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/ed_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c
index 8569666c1d9..ee552e53d97 100644
--- a/source/blender/editors/util/ed_util.c
+++ b/source/blender/editors/util/ed_util.c
@@ -201,7 +201,7 @@ bool ED_editors_flush_edits(const bContext *C, bool for_render)
else if (ob->mode & OB_MODE_EDIT) {
/* get editmode results */
has_edited = true;
- ED_object_editmode_load(ob);
+ ED_object_editmode_load(bmain, ob);
}
}