[Bf-blender-cvs] [92067f7cda3] blender2.8: Depsgraph / Du[plication: Remove workaround flag from ID
Sergey Sharybin
noreply at git.blender.org
Wed Dec 13 16:08:51 CET 2017
Commit: 92067f7cda3b5fe06ab731af7e2d307f7d80c993
Author: Sergey Sharybin
Date: Wed Dec 13 15:56:18 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB92067f7cda3b5fe06ab731af7e2d307f7d80c993
Depsgraph / Du[plication: Remove workaround flag from ID
Animation does no longer tag IDs as updated, so flag is not
needed anymore.
===================================================================
M source/blender/blenkernel/intern/object_dupli.c
===================================================================
diff --git a/source/blender/blenkernel/intern/object_dupli.c b/source/blender/blenkernel/intern/object_dupli.c
index a16acd9d564..9b25a1db6ff 100644
--- a/source/blender/blenkernel/intern/object_dupli.c
+++ b/source/blender/blenkernel/intern/object_dupli.c
@@ -364,10 +364,6 @@ static void make_duplis_frames(const DupliContext *ctx)
/* duplicate over the required range */
if (ob->transflag & OB_DUPLINOSPEED) enable_cu_speed = 0;
- /* special flag to avoid setting recalc flags to notify the depsgraph of
- * updates, as this is not a permanent change to the object */
- ob->id.tag |= LIB_TAG_ANIM_NO_RECALC;
-
for (scene->r.cfra = ob->dupsta; scene->r.cfra <= dupend; scene->r.cfra++) {
int ok = 1;
More information about the Bf-blender-cvs
mailing list