diff options
author | Andrew Donaldson <abcd@donaldson.id.au> | 2017-12-04 13:16:30 +0300 |
---|---|---|
committer | Andrew Donaldson <abcd@donaldson.id.au> | 2017-12-04 13:16:30 +0300 |
commit | 0d9f49413e72c116f21969d970fe3a1875db9a4b (patch) | |
tree | 6a5165678f5d60f87298a77d93959b42cd25e799 /cura_app.py | |
parent | 53b3efb9b83e49f207cf07d81e8cb2ed9471de4e (diff) |
Add Fedora to test for nvidia driver work around.
Diffstat (limited to 'cura_app.py')
-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") |