diff options
Diffstat (limited to 'source/blender/blenlib/BLI_dot_export.hh')
-rw-r--r-- | source/blender/blenlib/BLI_dot_export.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_dot_export.hh b/source/blender/blenlib/BLI_dot_export.hh index 450cb2ef58c..a7c5f1436d1 100644 --- a/source/blender/blenlib/BLI_dot_export.hh +++ b/source/blender/blenlib/BLI_dot_export.hh @@ -269,6 +269,11 @@ class NodeWithSocketsRef { Span<std::string> input_names, Span<std::string> output_names); + Node &node() + { + return *node_; + } + NodePort input(uint index) const { std::string port = "\"in" + std::to_string(index) + "\""; |