From adfae89f96ea088d18b0d6f0e775c48b049a332a Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 7 Jul 2020 18:40:42 +0200 Subject: BLI: provide access to underlying node in dot exporter --- source/blender/blenlib/BLI_dot_export.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/blenlib') 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 input_names, Span output_names); + Node &node() + { + return *node_; + } + NodePort input(uint index) const { std::string port = "\"in" + std::to_string(index) + "\""; -- cgit v1.2.3