[Bf-blender-cvs] [e584f3d8d2a] blender2.8: Depsgraph: Don; t use copy actions flag

Sergey Sharybin noreply at git.blender.org
Wed Apr 25 17:01:06 CEST 2018


Commit: e584f3d8d2ad34e4664f6022d32c81c2de6dfcda
Author: Sergey Sharybin
Date:   Wed Apr 25 17:00:41 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBe584f3d8d2ad34e4664f6022d32c81c2de6dfcda

Depsgraph: Don;t use copy actions flag

Is useless without main.

===================================================================

M	source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc

===================================================================

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 17d98e5e57a..3c827c14df5 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
@@ -289,7 +289,6 @@ bool scene_copy_inplace_no_main(const Scene *scene, Scene *new_scene)
 	bool result = BKE_id_copy_ex(NULL,
 	                             id_for_copy,
 	                             (ID **)&new_scene,
-	                             LIB_ID_COPY_ACTIONS |
 	                             LIB_ID_CREATE_NO_MAIN |
 	                             LIB_ID_CREATE_NO_USER_REFCOUNT |
 	                             LIB_ID_CREATE_NO_ALLOCATE |



More information about the Bf-blender-cvs mailing list