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:
authorBastien Montagne <montagne29@wanadoo.fr>2016-02-15 21:35:35 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-02-15 21:38:51 +0300
commit9a0fb589f70ce20618291b30ec45b230f8ff234d (patch)
treeee6f5c246ac7c911aedb072eaa1a5546d81e2994 /source/blender/modifiers/intern/MOD_smoke.c
parenta1495366af1d53382e6f01e4c75c39dcd137217e (diff)
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.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_smoke.c')
-rw-r--r--source/blender/modifiers/intern/MOD_smoke.c8
1 files changed, 4 insertions, 4 deletions
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);
}