[Bf-blender-cvs] [54948972a28] simulation-tree: access node identifier

Jacques Lucke noreply at git.blender.org
Tue Feb 25 18:01:49 CET 2020


Commit: 54948972a2836362e142549bb624cb970ceddc9c
Author: Jacques Lucke
Date:   Tue Feb 25 12:40:33 2020 +0100
Branches: simulation-tree
https://developer.blender.org/rB54948972a2836362e142549bb624cb970ceddc9c

access node identifier

===================================================================

M	source/blender/blenkernel/BKE_virtual_node_tree.h

===================================================================

diff --git a/source/blender/blenkernel/BKE_virtual_node_tree.h b/source/blender/blenkernel/BKE_virtual_node_tree.h
index 78f8d960f39..f40eb70ab14 100644
--- a/source/blender/blenkernel/BKE_virtual_node_tree.h
+++ b/source/blender/blenkernel/BKE_virtual_node_tree.h
@@ -71,6 +71,7 @@ class VSocket : BLI::NonCopyable, BLI::NonMovable {
 
   StringRefNull idname() const;
   StringRefNull name() const;
+  StringRefNull identifier() const;
 
   bool is_linked() const;
 
@@ -239,6 +240,11 @@ inline StringRefNull VSocket::name() const
   return m_bsocket->name;
 }
 
+inline StringRefNull VSocket::identifier() const
+{
+  return m_bsocket->identifier;
+}
+
 inline bNodeSocket *VSocket::bsocket() const
 {
   return m_bsocket;



More information about the Bf-blender-cvs mailing list