Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / depsgraph.cc
index e3d5644e1f60ab666ceaf69671c34d83c0292724..e5c5b1974817f2b3f10d87868f052c0eb6551421 100644 (file)
@@ -288,16 +288,6 @@ IDDepsNode *Depsgraph::add_id_node(ID *id, const char *name)
        return id_node;
 }
 
-void Depsgraph::remove_id_node(const ID *id)
-{
-       IDDepsNode *id_node = find_id_node(id);
-       if (id_node) {
-               /* unregister */
-               BLI_ghash_remove(id_hash, id, NULL, NULL);
-               OBJECT_GUARDED_DELETE(id_node, IDDepsNode);
-       }
-}
-
 void Depsgraph::clear_id_nodes()
 {
        BLI_ghash_clear(id_hash, NULL, id_node_deleter);