diff --git a/leenkx/blender/lnx/utils.py b/leenkx/blender/lnx/utils.py index e49829a..0dc4b97 100644 --- a/leenkx/blender/lnx/utils.py +++ b/leenkx/blender/lnx/utils.py @@ -191,7 +191,10 @@ def get_gapi(): return getattr(item, target_to_gapi(item.lnx_project_target)) if wrd.lnx_runtime == 'Browser': return 'webgl' - return 'direct3d11' if get_os() == 'win' else 'opengl' + if get_os() == 'win' and lnx.utils.get_rp().rp_voxels == 'Off': + return 'direct3d11' + else: + return 'opengl' def is_gapi_gl_es() -> bool: @@ -348,7 +351,10 @@ def krom_paths(): sdk_path = get_sdk_path() if lnx.utils.get_os() == 'win': krom_location = sdk_path + '/Krom' - krom_path = krom_location + '/Krom.exe' + if lnx.utils.get_rp().rp_voxels == 'Off': + krom_path = krom_location + '/Krom.exe' + else: + krom_path = krom_location + '/Krom_opengl.exe' elif lnx.utils.get_os() == 'mac': krom_location = sdk_path + '/Krom/Krom.app/Contents/MacOS' krom_path = krom_location + '/Krom'