diff options
author | Jacques Lucke <jacques@blender.org> | 2020-06-10 16:25:39 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-06-10 16:33:50 +0300 |
commit | a7ea07c6777a93373c8261d4a36edcee8a66a460 (patch) | |
tree | 3ea0626fadf4ad92571ce6ee78b8851c38700d64 /source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc | |
parent | 044b824c9d4e718391fcb69ac226b61a4638c42a (diff) |
Depsgraph: use blender::Vector instead of std::vector
We decided that `blender::Vector` should be the default choice for
a vector data structure in Blender.
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7981
Diffstat (limited to 'source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc')
-rw-r--r-- | source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc b/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc index dbe88ee92a8..1f33bdefb79 100644 --- a/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc +++ b/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc @@ -442,7 +442,7 @@ static void deg_debug_graphviz_node(const DebugContext &ctx, const Node *node) case NodeType::GENERIC_DATABLOCK: case NodeType::SIMULATION: { ComponentNode *comp_node = (ComponentNode *)node; - if (!comp_node->operations.empty()) { + if (!comp_node->operations.is_empty()) { deg_debug_graphviz_node_cluster_begin(ctx, node); for (Node *op_node : comp_node->operations) { deg_debug_graphviz_node(ctx, op_node); @@ -480,7 +480,7 @@ static bool deg_debug_graphviz_is_cluster(const Node *node) case NodeType::EVAL_POSE: case NodeType::BONE: { ComponentNode *comp_node = (ComponentNode *)node; - return !comp_node->operations.empty(); + return !comp_node->operations.is_empty(); } default: return false; |