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:
authorCampbell Barton <ideasman42@gmail.com>2020-01-30 08:46:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-01-30 08:46:09 +0300
commitac2d342d88299d6fb61492dc824aa006e3bd7557 (patch)
tree3d7057fce1939f4bd3a436bb664741ffda49288d /source/blender/editors/scene
parent1d28ff7f2bd100e7921bfc02e9ad20f78847a5be (diff)
Cleanup: ED_editors_flush_* functions
- Remove the only_render arg from ED_editors_flush_edits was only used in one place, the '_ex' version can be used instead. - Split out the single object version of this function as currently flushing is being done in-line, often only accounting for edit-mode, ignoring sculpt mode for e.g.
Diffstat (limited to 'source/blender/editors/scene')
-rw-r--r--source/blender/editors/scene/scene_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/scene/scene_edit.c b/source/blender/editors/scene/scene_edit.c
index 7705278443f..22c91686bbf 100644
--- a/source/blender/editors/scene/scene_edit.c
+++ b/source/blender/editors/scene/scene_edit.c
@@ -65,7 +65,7 @@ Scene *ED_scene_add(Main *bmain, bContext *C, wmWindow *win, eSceneCopyMethod me
/* these can't be handled in blenkernel currently, so do them here */
if (method == SCE_COPY_FULL) {
- ED_editors_flush_edits(bmain, false);
+ ED_editors_flush_edits(bmain);
ED_object_single_users(bmain, scene_new, true, true);
}
}