diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-15 18:00:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-15 18:00:54 +0300 |
commit | 512bbf3748f57dee2be10b10554629cd05c474e4 (patch) | |
tree | c2ca91bdf7ea4ae0cbd2da729389d63ee1a86927 /source/blender/depsgraph/intern/node | |
parent | bcc619532fde08e1e728d008d01edd8ba276bc91 (diff) |
Cleanup: Line wrapping
Diffstat (limited to 'source/blender/depsgraph/intern/node')
-rw-r--r-- | source/blender/depsgraph/intern/node/deg_node_id.cc | 6 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/node/deg_node_id.h | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/source/blender/depsgraph/intern/node/deg_node_id.cc b/source/blender/depsgraph/intern/node/deg_node_id.cc index 119c5dd18c4..1c765a2f7a7 100644 --- a/source/blender/depsgraph/intern/node/deg_node_id.cc +++ b/source/blender/depsgraph/intern/node/deg_node_id.cc @@ -187,15 +187,13 @@ string IDNode::identifier() const : "false") + ")"; } -ComponentNode *IDNode::find_component(NodeType type, - const char *name) const +ComponentNode *IDNode::find_component(NodeType type, const char *name) const { ComponentIDKey key(type, name); return reinterpret_cast<ComponentNode *>(BLI_ghash_lookup(components, &key)); } -ComponentNode *IDNode::add_component(NodeType type, - const char *name) +ComponentNode *IDNode::add_component(NodeType type, const char *name) { ComponentNode *comp_node = find_component(type, name); if (!comp_node) { diff --git a/source/blender/depsgraph/intern/node/deg_node_id.h b/source/blender/depsgraph/intern/node/deg_node_id.h index 7223f4a6215..fed8cfbdb2e 100644 --- a/source/blender/depsgraph/intern/node/deg_node_id.h +++ b/source/blender/depsgraph/intern/node/deg_node_id.h @@ -60,10 +60,8 @@ struct IDNode : public Node { virtual string identifier() const override; - ComponentNode *find_component(NodeType type, - const char *name = "") const; - ComponentNode *add_component(NodeType type, - const char *name = ""); + ComponentNode *find_component(NodeType type, const char *name = "") const; + ComponentNode *add_component(NodeType type, const char *name = ""); virtual void tag_update(Depsgraph *graph, eUpdateSource source) override; |