Depsgraph: Provide more information about component

This commit is contained in:
Sergey Sharybin 2018-09-24 15:40:23 +02:00
parent 8008cdac2e
commit 65c71fc410
2 changed files with 6 additions and 2 deletions

View File

@ -158,7 +158,11 @@ string ComponentDepsNode::identifier() const
char typebuf[16];
sprintf(typebuf, "(%d)", type);
return string(typebuf) + name + " : " + idname;
return string(typebuf) + name + " : " + idname +
"( affects_directly_visible: " +
(affects_directly_visible ? "true"
: "false") + ")";
;
}
OperationDepsNode *ComponentDepsNode::find_operation(OperationIDKey key) const

View File

@ -71,7 +71,7 @@ struct ComponentDepsNode : public DepsNode {
void init(const ID *id, const char *subdata);
string identifier() const;
virtual string identifier() const;
/* Find an existing operation, if requested operation does not exist
* NULL will be returned.