19 lines
		
	
	
		
			629 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			629 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								from lnx.logicnode.lnx_nodes import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								@deprecated('Set Object Scale')
							 | 
						||
| 
								 | 
							
								class ScaleObjectNode(LnxLogicTreeNode):
							 | 
						||
| 
								 | 
							
								    """Deprecated. 'Use Set Object Scale' instead."""
							 | 
						||
| 
								 | 
							
								    bl_idname = 'LNScaleObjectNode'
							 | 
						||
| 
								 | 
							
								    bl_label = 'Scale Object'
							 | 
						||
| 
								 | 
							
								    bl_description = "Please use the \"Set Object Scale\" node instead"
							 | 
						||
| 
								 | 
							
								    lnx_category = 'Transform'
							 | 
						||
| 
								 | 
							
								    lnx_section = 'scale'
							 | 
						||
| 
								 | 
							
								    lnx_version = 2
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    def lnx_init(self, context):
							 | 
						||
| 
								 | 
							
								        self.add_input('LnxNodeSocketAction', 'In')
							 | 
						||
| 
								 | 
							
								        self.add_input('LnxNodeSocketObject', 'Object')
							 | 
						||
| 
								 | 
							
								        self.add_input('LnxVectorSocket', 'Scale')
							 | 
						||
| 
								 | 
							
								        self.add_output('LnxNodeSocketAction', 'Out')
							 |