diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node_component.cc | 6 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node_component.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.cc b/source/blender/depsgraph/intern/nodes/deg_node_component.cc index 494c823a4b1..9c7c8df1770 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node_component.cc +++ b/source/blender/depsgraph/intern/nodes/deg_node_component.cc @@ -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 diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.h b/source/blender/depsgraph/intern/nodes/deg_node_component.h index 1cc4dd9797a..244884554fa 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node_component.h +++ b/source/blender/depsgraph/intern/nodes/deg_node_component.h @@ -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. |