Cleanup: Line wrapping
This commit is contained in:
parent
bcc619532f
commit
512bbf3748
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue