diff options
author | Andrew Donaldson <abcd@donaldson.id.au> | 2017-12-04 13:16:30 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2017-12-21 17:59:00 +0300 |
commit | 888fd0382a5b782fcadee0a76c0fb07f0a83d3eb (patch) | |
tree | b7b342d5080053472665376c256a243026ea215c | |
parent | a3818be46faf92ae43d6eac52fbc988247227036 (diff) |
Add Fedora to test for nvidia driver work around.3.1
-rwxr-xr-x | cura_app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura_app.py b/cura_app.py index d725bc1200..313b161a7d 100755 --- a/cura_app.py +++ b/cura_app.py @@ -12,7 +12,7 @@ from UM.Platform import Platform #WORKAROUND: GITHUB-88 GITHUB-385 GITHUB-612 if Platform.isLinux(): # Needed for platform.linux_distribution, which is not available on Windows and OSX # For Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826 - if platform.linux_distribution()[0] in ("debian", "Ubuntu", "LinuxMint"): # TODO: Needs a "if X11_GFX == 'nvidia'" here. The workaround is only needed on Ubuntu+NVidia drivers. Other drivers are not affected, but fine with this fix. + if platform.linux_distribution()[0] in ("debian", "Ubuntu", "LinuxMint", "Fedora"): # TODO: Needs a "if X11_GFX == 'nvidia'" here. The workaround is only needed on Ubuntu+NVidia drivers. Other drivers are not affected, but fine with this fix. import ctypes from ctypes.util import find_library libGL = find_library("GL") |