Update leenkx/blender/lnx/write_data.py
This commit is contained in:
parent
9b821d4b8e
commit
f3ab801928
@ -419,9 +419,10 @@ project.addSources('Sources');
|
|||||||
def get_winmode(lnx_winmode):
|
def get_winmode(lnx_winmode):
|
||||||
if lnx_winmode == 'Window':
|
if lnx_winmode == 'Window':
|
||||||
return 0
|
return 0
|
||||||
else: # Fullscreen
|
elif lnx_winmode == 'Fullscreen':
|
||||||
return 1
|
return 1
|
||||||
|
else: # Headless
|
||||||
|
return 2
|
||||||
|
|
||||||
def write_config(resx, resy):
|
def write_config(resx, resy):
|
||||||
wrd = bpy.data.worlds['Lnx']
|
wrd = bpy.data.worlds['Lnx']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user