Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/BLI_dot_export.hh5
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 0870d8c4c30..8155f8518e4 100644
--- a/source/blender/blenlib/BLI_dot_export.hh
+++ b/source/blender/blenlib/BLI_dot_export.hh
@@ -237,6 +237,11 @@ class Edge : blender::NonCopyable, blender::NonMovable {
{
this->set_attribute("dir", dirType_to_string(type));
}
+
+ void set_label(StringRef label)
+ {
+ this->set_attribute("label", label);
+ }
};
class DirectedEdge : public Edge {