forked from LeenkxTeam/LNXSDK
		
	t3du - CA Updates
This commit is contained in:
		@ -4,12 +4,13 @@ class RpConfigNode(LnxLogicTreeNode):
 | 
			
		||||
    """Sets the post process quality."""
 | 
			
		||||
    bl_idname = 'LNRpConfigNode'
 | 
			
		||||
    bl_label = 'Set Post Process Quality'
 | 
			
		||||
    lnx_version = 1
 | 
			
		||||
    lnx_version = 2
 | 
			
		||||
    property0: HaxeEnumProperty(
 | 
			
		||||
        'property0',
 | 
			
		||||
        items = [('SSGI', 'SSGI', 'SSGI'),
 | 
			
		||||
                 ('SSR', 'SSR', 'SSR'),
 | 
			
		||||
                 ('Bloom', 'Bloom', 'Bloom'),
 | 
			
		||||
                 ('CA', 'CA', 'CA'),
 | 
			
		||||
                 ('GI', 'GI', 'GI'),
 | 
			
		||||
                 ('Motion Blur', 'Motion Blur', 'Motion Blur')
 | 
			
		||||
                 ],
 | 
			
		||||
@ -23,3 +24,10 @@ class RpConfigNode(LnxLogicTreeNode):
 | 
			
		||||
 | 
			
		||||
    def draw_buttons(self, context, layout):
 | 
			
		||||
        layout.prop(self, 'property0')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def get_replacement_node(self, node_tree: bpy.types.NodeTree):
 | 
			
		||||
        if self.lnx_version not in (0, 1):
 | 
			
		||||
            raise LookupError()
 | 
			
		||||
 | 
			
		||||
        return NodeReplacement.Identity(self)
 | 
			
		||||
		Reference in New Issue
	
	Block a user