[Bf-blender-cvs] [cd301bf654d] blender2.8: Depsgraph: Cleanup, remove unused function argument
Sergey Sharybin
noreply at git.blender.org
Fri Jul 21 15:38:10 CEST 2017
Commit: cd301bf654d7009814589d469ab2b4c9e6be5d63
Author: Sergey Sharybin
Date: Fri Jul 21 15:37:51 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBcd301bf654d7009814589d469ab2b4c9e6be5d63
Depsgraph: Cleanup, remove unused function argument
===================================================================
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 a4918207372..829014beaf8 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -234,7 +234,7 @@ void id_tag_update_particle(Depsgraph *graph, IDDepsNode *id_node, int tag)
particle_comp->tag_update(graph);
}
-void id_tag_update_shading(Depsgraph *graph, IDDepsNode *id_node, int tag)
+void id_tag_update_shading(Depsgraph *graph, IDDepsNode *id_node)
{
ComponentDepsNode *shading_comp =
id_node->find_component(DEG_NODE_TYPE_SHADING);
@@ -288,7 +288,7 @@ void deg_graph_id_tag_update(Main *bmain, Depsgraph *graph, ID *id, int flag)
id_tag_update_particle(graph, id_node, flag);
}
if (flag & DEG_TAG_SHADING_UPDATE) {
- id_tag_update_shading(graph, id_node, flag);
+ id_tag_update_shading(graph, id_node);
}
#ifdef WITH_COPY_ON_WRITE
if (flag & DEG_TAG_COPY_ON_WRITE) {
More information about the Bf-blender-cvs
mailing list