diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-26 01:27:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-26 01:27:45 +0400 |
commit | 72e1316dc4b607440430779d78a26a76a4527c4b (patch) | |
tree | 70dd28c09f303e1776da7290a8fefea4d153feaf /release/scripts/startup | |
parent | ed46c2344e93a39cdcf6bb51484a0e515bad4ac8 (diff) |
minor style edits
- use GL_TRUE/FALSE for glLightModeli
- use set for python checks against multiple string values.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 7e52d37c06e..64dad996fa0 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -88,7 +88,7 @@ class VIEW3D_HT_header(Header): row = layout.row(align=True) row.prop(toolsettings, "use_snap", text="") row.prop(toolsettings, "snap_element", text="", icon_only=True) - if snap_element not in ('INCREMENT', 'VOLUME'): + if snap_element not in {'INCREMENT', 'VOLUME'}: row.prop(toolsettings, "snap_target", text="") if obj: if obj.mode == 'OBJECT': |