[Bf-blender-cvs] [adfae89f96e] master: BLI: provide access to underlying node in dot exporter
Jacques Lucke
noreply at git.blender.org
Tue Jul 7 18:45:44 CEST 2020
Commit: adfae89f96ea088d18b0d6f0e775c48b049a332a
Author: Jacques Lucke
Date: Tue Jul 7 18:40:42 2020 +0200
Branches: master
https://developer.blender.org/rBadfae89f96ea088d18b0d6f0e775c48b049a332a
BLI: provide access to underlying node in dot exporter
===================================================================
M source/blender/blenlib/BLI_dot_export.hh
===================================================================
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) + "\"";
More information about the Bf-blender-cvs
mailing list