diff options
author | Bastien Montagne <bastien@blender.org> | 2020-06-10 19:30:59 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-06-10 20:45:52 +0300 |
commit | 4f314ee5b95a1d01cedca2272056f866d1557d7b (patch) | |
tree | 1f1906aff00b02a6af5ba94faa8b73c7dc80bdfd /source/blender/blenkernel/BKE_scene.h | |
parent | eee35ebdfbed405c45d51dc9d5f29dfd87cea0fc (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/blenkernel/BKE_scene.h')
-rw-r--r-- | source/blender/blenkernel/BKE_scene.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_scene.h b/source/blender/blenkernel/BKE_scene.h index 9b048b1552a..800370318c4 100644 --- a/source/blender/blenkernel/BKE_scene.h +++ b/source/blender/blenkernel/BKE_scene.h @@ -108,7 +108,7 @@ struct Scene *BKE_scene_set_name(struct Main *bmain, const char *name); struct ToolSettings *BKE_toolsettings_copy(struct ToolSettings *toolsettings, const int flag); void BKE_toolsettings_free(struct ToolSettings *toolsettings); -struct Scene *BKE_scene_copy(struct Main *bmain, struct Scene *sce, eSceneCopyMethod type); +struct Scene *BKE_scene_duplicate(struct Main *bmain, struct Scene *sce, eSceneCopyMethod type); void BKE_scene_groups_relink(struct Scene *sce); struct Scene *BKE_scene_find_from_collection(const struct Main *bmain, |