forked from LeenkxTeam/LNXSDK
		
	t3du - Fix World Errors
This commit is contained in:
		@ -39,14 +39,15 @@ def add_world_defs():
 | 
			
		||||
    # Store contexts
 | 
			
		||||
    if rpdat.rp_hdr == False:
 | 
			
		||||
        wrd.world_defs += '_LDR'
 | 
			
		||||
        
 | 
			
		||||
    if lnx.utils.get_active_scene().world is not None:
 | 
			
		||||
        if lnx.utils.get_active_scene().world.lnx_light_ies_texture:
 | 
			
		||||
            wrd.world_defs += '_LightIES'
 | 
			
		||||
            assets.add_embedded_data('iestexture.png')
 | 
			
		||||
 | 
			
		||||
    if lnx.utils.get_active_scene().world.lnx_light_ies_texture == True:
 | 
			
		||||
        wrd.world_defs += '_LightIES'
 | 
			
		||||
        assets.add_embedded_data('iestexture.png')
 | 
			
		||||
 | 
			
		||||
    if lnx.utils.get_active_scene().world.lnx_light_clouds_texture == True:
 | 
			
		||||
        wrd.world_defs += '_LightClouds'
 | 
			
		||||
        assets.add_embedded_data('cloudstexture.png')
 | 
			
		||||
        if lnx.utils.get_active_scene().world.lnx_light_clouds_texture:
 | 
			
		||||
            wrd.world_defs += '_LightClouds'
 | 
			
		||||
            assets.add_embedded_data('cloudstexture.png')
 | 
			
		||||
 | 
			
		||||
    if rpdat.rp_renderer == 'Deferred':
 | 
			
		||||
        assets.add_khafile_def('lnx_deferred')
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user