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:
authorMai Lavelle <mai.lavelle@gmail.com>2018-03-31 09:19:52 +0300
committerMai Lavelle <mai.lavelle@gmail.com>2018-04-04 12:10:47 +0300
commit3f4df3f847a948b9e9954d00311b0135008258f8 (patch)
treecdac036057dbdbc3d4b33e2be17d7d9d37045d91
parente217fb439ffab5dbd979ff261f6a2d816f7d7c83 (diff)
Fix missing hair in fishycat and everything else after particle recalc changes
The cache was getting reset always, due to special case of flag being 0. Bug introduced by: 44cd24a9cee9ffb14b5d26a622f
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index 8f2f6e258fb..b3796f56083 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -397,7 +397,7 @@ void deg_graph_id_tag_update(Main *bmain, Depsgraph *graph, ID *id, int flag)
DEG_id_type_tag(bmain, GS(id->name));
if (flag == 0) {
/* TODO(sergey): Which recalc flags to set here? */
- id->recalc |= ID_RECALC_ALL;
+ id->recalc |= ID_RECALC_ALL & ~DEG_TAG_PSYS_ALL;
if (id_node != NULL) {
id_node->tag_update(graph);
}