14 lines
		
	
	
		
			394 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			394 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class RemoveTraitNode(LnxLogicTreeNode):
 | |
|     """Removes the given trait."""
 | |
|     bl_idname = 'LNRemoveTraitNode'
 | |
|     bl_label = 'Remove Trait'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_input('LnxNodeSocketAction', 'In')
 | |
|         self.add_input('LnxDynamicSocket', 'Trait')
 | |
| 
 | |
|         self.add_output('LnxNodeSocketAction', 'Out')
 |