Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Donaldson <abcd@donaldson.id.au>2017-12-04 13:16:30 +0300
committerLipu Fei <lipu.fei815@gmail.com>2017-12-21 17:59:00 +0300
commit888fd0382a5b782fcadee0a76c0fb07f0a83d3eb (patch)
treeb7b342d5080053472665376c256a243026ea215c
parenta3818be46faf92ae43d6eac52fbc988247227036 (diff)
Add Fedora to test for nvidia driver work around.3.1
-rwxr-xr-xcura_app.py2
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")