[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54388] trunk/blender/release/scripts/ startup/bl_ui/space_userpref.py: Added warning below MultiSample User Preference option for Linux systems.

Ton Roosendaal ton at blender.org
Fri Feb 8 14:15:31 CET 2013


Revision: 54388
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54388
Author:   ton
Date:     2013-02-08 13:15:30 +0000 (Fri, 08 Feb 2013)
Log Message:
-----------
Added warning below MultiSample User Preference option for Linux systems. 

(All 8 reports in tracker for selection failures were linux...)

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_userpref.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_userpref.py	2013-02-08 12:31:47 UTC (rev 54387)
+++ trunk/blender/release/scripts/startup/bl_ui/space_userpref.py	2013-02-08 13:15:30 UTC (rev 54388)
@@ -403,6 +403,7 @@
         return (userpref.active_section == 'SYSTEM')
 
     def draw(self, context):
+        import sys
         layout = self.layout
 
         userpref = context.user_preferences
@@ -466,6 +467,9 @@
         col.label(text="Window Draw Method:")
         col.prop(system, "window_draw_method", text="")
         col.prop(system, "multi_sample", text="")
+        if sys.platform == "linux" and system.multi_sample != 'NONE':
+            col.label(text="Might fail for Mesh editing selection!")
+            col.separator()
         col.prop(system, "use_region_overlap")
         col.label(text="Text Draw Options:")
         col.prop(system, "use_text_antialiasing")




More information about the Bf-blender-cvs mailing list