diff options
author | Thomas Karl Pietrowski <thopiekar@googlemail.com> | 2016-08-07 09:03:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-07 09:03:51 +0300 |
commit | 6b2935379f46429b125ba3a786324a6617296ef0 (patch) | |
tree | 5943427db38f5d5e22097365e9bb3d9700ee10a2 /cura_app.py | |
parent | 35c520a787eb2be026b2969901100e4231a17a89 (diff) |
Adding "LinuxMint"
Moving the Nvidia fix just broke another PR here on GitHub. This is the original commit:
https://github.com/Ultimaker/Cura/pull/909/commits/8b750cb27c509b8d16f72c34c05de7f6784eceda
Thanks to @Nihlus
Why we are still listing all the distributions? - Still it isn't clear whether this problem is a "Debian"-specific bug or not.
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 ee986ef862..92fbf69383 100755 --- a/cura_app.py +++ b/cura_app.py @@ -13,7 +13,7 @@ from UM.Platform import Platform 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 print(platform.linux_distribution()) - if platform.linux_distribution()[0] in ("debian", "Ubuntu", ): # 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"): # 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") |