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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-06-01 16:07:47 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-06-01 17:22:35 +0300
commitd492ae8893e6c1aa26bf1fd65ec2f5d76f6f3aa7 (patch)
tree8484b445480e940183cb1cbe1d41ff3842138a60 /source/blender/depsgraph/intern/depsgraph.cc
parenta13aa12d7c002ecddc42dcae9135064fe3178b24 (diff)
Depsgraph: Remove dead code
Was never used or worked on in ages, if any of this code is needed in the future it'll need to be redone anyway.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc
index c3e9ad5a475..8054c33817b 100644
--- a/source/blender/depsgraph/intern/depsgraph.cc
+++ b/source/blender/depsgraph/intern/depsgraph.cc
@@ -302,16 +302,6 @@ SubgraphDepsNode *Depsgraph::add_subgraph_node(const ID *id)
/* Add to subnodes list. */
BLI_gset_insert(subgraphs, subgraph_node);
- /* if there's an ID associated, add to ID-nodes lookup too */
- if (id) {
-#if 0
- /* XXX subgraph node is NOT a true IDDepsNode - what is this supposed to do? */
- // TODO: what to do if subgraph's ID has already been added?
- BLI_assert(!graph->find_id_node(id));
- graph->id_hash[id] = this;
-#endif
- }
-
return subgraph_node;
}