diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-02-19 17:10:19 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-02-19 17:12:46 +0300 |
commit | a16c0ebc59033b0b26b8e1d832a28739cfbd9ecd (patch) | |
tree | 86402e2429eefb18ed1b91d72400cdd358bf1d38 /source/blender/blenkernel/BKE_collection.h | |
parent | 73079e01fd421a4a1d7b1518334985479fdf744f (diff) |
Fix warning after fix for crash on renaming group collections
Warning introduced on: 73079e01fd4.
Diffstat (limited to 'source/blender/blenkernel/BKE_collection.h')
-rw-r--r-- | source/blender/blenkernel/BKE_collection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_collection.h b/source/blender/blenkernel/BKE_collection.h index 618e60550b7..3bf14346ccb 100644 --- a/source/blender/blenkernel/BKE_collection.h +++ b/source/blender/blenkernel/BKE_collection.h @@ -51,7 +51,7 @@ bool BKE_collection_remove(struct ID *owner_id, struct SceneCollection *sc); void BKE_collection_copy_data(struct SceneCollection *sc_dst, struct SceneCollection *sc_src, const int flag); struct SceneCollection *BKE_collection_duplicate(struct ID *owner_id, struct SceneCollection *scene_collection); struct SceneCollection *BKE_collection_master(const struct ID *owner_id); -void BKE_collection_rename(const struct Scene *scene, struct SceneCollection *sc, const char *name); +void BKE_collection_rename(const struct ID *owner_id, struct SceneCollection *sc, const char *name); void BKE_collection_master_free(struct ID *owner_id, const bool do_id_user); bool BKE_collection_object_add(const struct ID *owner_id, struct SceneCollection *sc, struct Object *object); void BKE_collection_object_add_from(struct Scene *scene, struct Object *ob_src, struct Object *ob_dst); |