[Bf-blender-cvs] [44fde98] depsgraph_cleanup: Depsgraph: Make sure memory reports stays all grouped
Sergey Sharybin
noreply at git.blender.org
Thu May 26 18:04:09 CEST 2016
Commit: 44fde98cab3d181876ba584c1b76b993bd9c176e
Author: Sergey Sharybin
Date: Thu May 26 17:48:15 2016 +0200
Branches: depsgraph_cleanup
https://developer.blender.org/rB44fde98cab3d181876ba584c1b76b993bd9c176e
Depsgraph: Make sure memory reports stays all grouped
===================================================================
M source/blender/depsgraph/intern/depsgraph.cc
M source/blender/depsgraph/intern/nodes/deg_node.cc
M source/blender/depsgraph/intern/nodes/deg_node_component.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc
index 79fc273..2b7c637 100644
--- a/source/blender/depsgraph/intern/depsgraph.cc
+++ b/source/blender/depsgraph/intern/depsgraph.cc
@@ -74,9 +74,9 @@ Depsgraph::Depsgraph()
layers(0)
{
BLI_spin_init(&lock);
- id_hash = BLI_ghash_ptr_new("depsgraph id hash");
- subgraphs = BLI_gset_ptr_new("depsgraph subgraphs");
- entry_tags = BLI_gset_ptr_new("depsgraph entry_tags");
+ id_hash = BLI_ghash_ptr_new("Depsgraph id hash");
+ subgraphs = BLI_gset_ptr_new("Depsgraph subgraphs");
+ entry_tags = BLI_gset_ptr_new("Depsgraph entry_tags");
}
Depsgraph::~Depsgraph()
diff --git a/source/blender/depsgraph/intern/nodes/deg_node.cc b/source/blender/depsgraph/intern/nodes/deg_node.cc
index f8fcec8..392593c 100644
--- a/source/blender/depsgraph/intern/nodes/deg_node.cc
+++ b/source/blender/depsgraph/intern/nodes/deg_node.cc
@@ -183,7 +183,7 @@ void IDDepsNode::init(const ID *id, const string &UNUSED(subdata))
components = BLI_ghash_new(id_deps_node_hash_key,
id_deps_node_hash_key_cmp,
- "depsgraph id components hash");
+ "Depsgraph id components hash");
/* NOTE: components themselves are created if/when needed.
* This prevents problems with components getting added
diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.cc b/source/blender/depsgraph/intern/nodes/deg_node_component.cc
index ad77117..95cd912 100644
--- a/source/blender/depsgraph/intern/nodes/deg_node_component.cc
+++ b/source/blender/depsgraph/intern/nodes/deg_node_component.cc
@@ -90,7 +90,7 @@ ComponentDepsNode::ComponentDepsNode() :
{
operations = BLI_ghash_new(comp_node_hash_key,
comp_node_hash_key_cmp,
- "depsgraph id hash");
+ "Depsgraph id hash");
}
/* Initialize 'component' node - from pointer data given */
More information about the Bf-blender-cvs
mailing list