From 9a0fb589f70ce20618291b30ec45b230f8ff234d Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 15 Feb 2016 19:35:35 +0100 Subject: Cleanup: reorganize BKE ID tagging functions. BKE_main_id_tag_/BKE_main_id_flag_ were horrible naming now that we split those into flags (for presistent one) and tags (for runtime ones). Got rid of previous 'tag_' functions behavior (those who were dedicated shortcuts to set/clear LIB_TAG_DOIT), so now '_tag_' functions affect tags, and '_flag_' functions affect flags. --- source/blender/modifiers/intern/MOD_smoke.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_smoke.c b/source/blender/modifiers/intern/MOD_smoke.c index aea688858de..237d4cc6718 100644 --- a/source/blender/modifiers/intern/MOD_smoke.c +++ b/source/blender/modifiers/intern/MOD_smoke.c @@ -213,7 +213,7 @@ static void updateDepgraph(ModifierData *md, DagForest *forest, } } else { - BKE_main_id_tag_listbase(&bmain->object, true); + BKE_main_id_tag_listbase(&bmain->object, LIB_TAG_DOIT, true); base = scene->base.first; for (; base; base = base->next) { update_depsgraph_flow_coll_object(forest, obNode, base->object); @@ -221,7 +221,7 @@ static void updateDepgraph(ModifierData *md, DagForest *forest, } /* add relation to all "smoke flow" force fields */ base = scene->base.first; - BKE_main_id_tag_listbase(&bmain->object, true); + BKE_main_id_tag_listbase(&bmain->object, LIB_TAG_DOIT, true); for (; base; base = base->next) { update_depsgraph_field_source_object(forest, obNode, ob, base->object); } @@ -318,7 +318,7 @@ static void updateDepsgraph(ModifierData *md, } } else { - BKE_main_id_tag_listbase(&bmain->object, true); + BKE_main_id_tag_listbase(&bmain->object, LIB_TAG_DOIT, true); base = scene->base.first; for (; base; base = base->next) { update_depsgraph_flow_coll_object_new(node, base->object); @@ -326,7 +326,7 @@ static void updateDepsgraph(ModifierData *md, } /* add relation to all "smoke flow" force fields */ base = scene->base.first; - BKE_main_id_tag_listbase(&bmain->object, true); + BKE_main_id_tag_listbase(&bmain->object, LIB_TAG_DOIT, true); for (; base; base = base->next) { update_depsgraph_field_source_object_new(node, ob, base->object); } -- cgit v1.2.3