forked from LeenkxTeam/LNXSDK
t3du - Fix World Errors
This commit is contained in:
@ -40,11 +40,12 @@ def add_world_defs():
|
||||
if rpdat.rp_hdr == False:
|
||||
wrd.world_defs += '_LDR'
|
||||
|
||||
if lnx.utils.get_active_scene().world.lnx_light_ies_texture == True:
|
||||
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_clouds_texture == True:
|
||||
if lnx.utils.get_active_scene().world.lnx_light_clouds_texture:
|
||||
wrd.world_defs += '_LightClouds'
|
||||
assets.add_embedded_data('cloudstexture.png')
|
||||
|
||||
|
Reference in New Issue
Block a user