17 lines
		
	
	
		
			521 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			521 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
 | 
						|
@deprecated('Set Trait Paused')
 | 
						|
class PauseTraitNode(LnxLogicTreeNode):
 | 
						|
    """Pauses the given trait."""
 | 
						|
    bl_idname = 'LNPauseTraitNode'
 | 
						|
    bl_label = 'Pause Trait'
 | 
						|
    bl_description = "Please use the \"Set Trait Paused\" node instead"
 | 
						|
    lnx_category = 'Trait'
 | 
						|
    lnx_version = 2
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketAction', 'In')
 | 
						|
        self.add_input('LnxDynamicSocket', 'Trait')
 | 
						|
        self.add_output('LnxNodeSocketAction', 'Out')
 |