diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-02-25 15:51:53 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-02-25 15:51:53 +0300 |
commit | b5b359b48f7f35a79b3eec8534f363952485212d (patch) | |
tree | 6acd6668d5941ca64b912b76f6614dff685cb7dd /release/scripts/startup/bl_ui/space_userpref.py | |
parent | 1da5e8df6f101021a89f119614f0160b874a8932 (diff) |
Warning messagebox for windows when an unsupported implementation of
OpenGL is detected:
Hoping to decrease the frequency of by far one of the most frequent bug
reports by windows users.
There is some reorganization of the GHOST API to allow easy addition of
further OpenGL options in the future. The change is not propagated too
deep to keep the size of the patch managable. We might reorganize things
here later.
For OpenGL we do two checks here:
One is a combination of GDI generic renderer or vendor microsoft
corporation and OpenGL version 1.1. This means the system does not
use GPU acceleration at all. We warn user to install a graphics
driver and of cases where this might happen (remote connection, using
blender through virtual machine)
The other one just checks if OpenGL version is less than 1.4 (we can
easily change that in the future of course) and warns that it is
deprecated.
Both cases will still let blender startup correctly but users should now
have a clear idea of the system being unsupported.
A user preference flag is provided to turn the warning off.
Now stop posting those bug reports without installing a driver first -
please?
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index d8f7c4f4094..3b17e40c294 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -170,6 +170,12 @@ class USERPREF_PT_interface(Panel): sub.prop(view, "mini_axis_brightness", text="Brightness") col.separator() + + if sys.platform[:3] == "win": + col.label("Warnings") + col.prop(view, "use_quit_dialog") + col.prop(view, "use_gl_warn_support") + row.separator() row.separator() @@ -238,9 +244,6 @@ class USERPREF_PT_interface(Panel): col.prop(view, "show_splash") - if sys.platform[:3] == "win": - col.prop(view, "use_quit_dialog") - class USERPREF_PT_edit(Panel): bl_space_type = 'USER_PREFERENCES' |