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>2019-02-04 17:34:31 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-02-05 11:49:50 +0300
commit7636e9785dc11fc9f11f89ba055f414e6efe43fa (patch)
tree984db57bc800523950d7f01b945f8553d0c7232f /source/blender/depsgraph
parent999f3985c07704f0edbe4e505172859b2e676634 (diff)
Cleanup: BKE_library: remove 'test' param of id_copy.
This was used in *one* place only... much better to have a dedicated helper for that kind of things. ;)
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
index 6bc4d2c7b74..ede0333ea48 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
@@ -294,8 +294,7 @@ bool id_copy_inplace_no_main(const ID *id, ID *newid)
LIB_ID_CREATE_NO_USER_REFCOUNT |
LIB_ID_CREATE_NO_ALLOCATE |
LIB_ID_CREATE_NO_DEG_TAG |
- LIB_ID_COPY_CACHES),
- false);
+ LIB_ID_COPY_CACHES));
#ifdef NESTED_ID_NASTY_WORKAROUND
if (result) {
@@ -325,8 +324,7 @@ bool scene_copy_inplace_no_main(const Scene *scene, Scene *new_scene)
LIB_ID_CREATE_NO_MAIN |
LIB_ID_CREATE_NO_USER_REFCOUNT |
LIB_ID_CREATE_NO_ALLOCATE |
- LIB_ID_CREATE_NO_DEG_TAG,
- false);
+ LIB_ID_CREATE_NO_DEG_TAG);
#ifdef NESTED_ID_NASTY_WORKAROUND
if (result) {