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 <bastien@blender.org>2020-06-10 19:30:59 +0300
committerBastien Montagne <bastien@blender.org>2020-06-10 20:45:52 +0300
commit4f314ee5b95a1d01cedca2272056f866d1557d7b (patch)
tree1f1906aff00b02a6af5ba94faa8b73c7dc80bdfd /source/blender/editors/scene
parenteee35ebdfbed405c45d51dc9d5f29dfd87cea0fc (diff)
Cleanup: rename `BKE_scene_copy` to `_update`.
Matches other similar cases for collection and object, and general naming rule (copy is for generic ID copying, duplicate is for more involved and poweful behaviors specific to an ID type).
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 059337dd6fe..c32bb69db4e 100644
--- a/source/blender/editors/scene/scene_edit.c
+++ b/source/blender/editors/scene/scene_edit.c
@@ -67,7 +67,7 @@ Scene *ED_scene_add(Main *bmain, bContext *C, wmWindow *win, eSceneCopyMethod me
ED_editors_flush_edits(bmain);
}
- scene_new = BKE_scene_copy(bmain, scene_old, method);
+ scene_new = BKE_scene_duplicate(bmain, scene_old, method);
}
WM_window_set_active_scene(bmain, C, win, scene_new);