11 lines
		
	
	
		
			296 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			296 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class SelfTraitNode(LnxLogicTreeNode):
 | |
|     """Returns the trait that owns this node."""
 | |
|     bl_idname = 'LNSelfTraitNode'
 | |
|     bl_label = 'Self Trait'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_output('LnxDynamicSocket', 'Trait')
 |