forked from LeenkxTeam/LNXSDK
t3du - Fix attribute error rp_gi
This commit is contained in:
@ -613,7 +613,7 @@ def update_leenkx_world():
|
||||
if bpy.data.filepath != '' and (file_version < sdk_version or wrd.lnx_commit != lnx_commit):
|
||||
# This allows for seamless migration from earlier versions of Leenkx
|
||||
for rp in wrd.lnx_rplist: # TODO: deprecated
|
||||
if rp.rp_gi != 'Off':
|
||||
if hasattr(rp, 'rp_gi') and rp.rp_gi != 'Off':
|
||||
rp.rp_gi = 'Off'
|
||||
rp.rp_voxels = rp.rp_gi
|
||||
|
||||
|
Reference in New Issue
Block a user