diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-20 14:02:21 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-20 14:02:21 +0400 |
commit | 0db0b14a525cde12bbac80c4a2c664b28b95e165 (patch) | |
tree | 44ef36b7cba1270c7ea6b116f454f1709963c3a1 /release | |
parent | 4c094d700e874ad55fd980948e6aa5d6dedb8ff3 (diff) |
Fix #23384: python errors in input tab in user preferences.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/space_userpref_keymap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/space_userpref_keymap.py b/release/scripts/ui/space_userpref_keymap.py index 5536be0586c..f966f8a7e8b 100644 --- a/release/scripts/ui/space_userpref_keymap.py +++ b/release/scripts/ui/space_userpref_keymap.py @@ -152,7 +152,7 @@ class InputKeyMapPanel(bpy.types.Panel): indentpx = 16 if level == 0: level = 0.0001 # Tweak so that a percentage of 0 won't split by half - indent = level * indentpx / bpy.context.region.offset + indent = level * indentpx / bpy.context.region.width split = layout.split(percentage=indent) col = split.column() |