[Bf-blender-cvs] [340b9c1dfc6] master: Fix missing clear of ID types tags

Sergey Sharybin noreply at git.blender.org
Wed Oct 9 09:39:00 CEST 2019


Commit: 340b9c1dfc6e81efc0fb1e1ffff78203ba6aeddc
Author: Sergey Sharybin
Date:   Wed Oct 9 09:38:11 2019 +0200
Branches: master
https://developer.blender.org/rB340b9c1dfc6e81efc0fb1e1ffff78203ba6aeddc

Fix missing clear of ID types tags

Got lost in previous optimization commit.

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

M	source/blender/depsgraph/intern/depsgraph_tag.cc

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

diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index 77b24d60b10..058ee4e9076 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -828,4 +828,5 @@ void DEG_ids_clear_recalc(Main *UNUSED(bmain), Depsgraph *depsgraph)
       deg_graph_clear_id_recalc_flags(id_node->id_orig);
     }
   }
+  memset(deg_graph->id_type_updated, 0, sizeof(deg_graph->id_type_updated));
 }



More information about the Bf-blender-cvs mailing list