forked from LeenkxTeam/LNXSDK
		
	t3du - Conditional Shader Nodes 4.0 +
This commit is contained in:
		@ -77,7 +77,7 @@ class LNX_MT_NodeAddOverride(bpy.types.Menu):
 | 
			
		||||
                layout.separator()
 | 
			
		||||
                layout.menu(f'LNX_MT_{INTERNAL_GROUPS_MENU_ID}_menu', text=internal_groups_menu_class.bl_label, icon='OUTLINER_OB_GROUP_INSTANCE')
 | 
			
		||||
 | 
			
		||||
        elif context.space_data.tree_type == 'ShaderNodeTree':
 | 
			
		||||
        elif context.space_data.tree_type == 'ShaderNodeTree' and bpy.app.version > (4, 0, 0):
 | 
			
		||||
            # TO DO - Recursively gather nodes and draw them to menu
 | 
			
		||||
 | 
			
		||||
            LNX_MT_NodeAddOverride.overridden_draw(self, context)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user