Fix krom bin path
This commit is contained in:
parent
a7d14cb444
commit
0a0998bce2
|
@ -321,7 +321,8 @@ class ArmEditCanvasButton(bpy.types.Operator):
|
|||
|
||||
sdk_path = arm.utils.get_sdk_path()
|
||||
armory2d_path = sdk_path + '/lib/armory_tools/armory2d'
|
||||
krom_location, krom_path = arm.utils.krom_paths()
|
||||
bin_ext = '_opengl' if arm.utils.get_os() == 'win' else ''
|
||||
krom_location, krom_path = arm.utils.krom_paths(bin_ext=bin_ext)
|
||||
os.chdir(krom_location)
|
||||
cpath = canvas_path.replace('\\', '/')
|
||||
uiscale = str(arm.utils.get_ui_scale())
|
||||
|
|
Loading…
Reference in a new issue