Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-05-01 11:39:21 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-05-01 11:39:21 +0400
commit05538a7c54408d59e7caf7b79b0ce8960f50a2a6 (patch)
tree95afe968a28385e13796b3f343760b057ca149d0 /release
parent22c2aef77c63cf4cbe19a1c5a8ea4671ef6440bd (diff)
Fix #27239: "A" menu in Sculptmode fails
Simple incorrect property accessing fix (enum_items vs. items). Additional change: removed hotkey to toggle airbrush in sculpt mode TODO: incorrect hotkeys are shown in stroke method menu, but it's how hotkey string detecting works now.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/wm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 6161aa4aa19..d02b2bfbdde 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -395,7 +395,7 @@ class WM_MT_context_menu_enum(bpy.types.Menu):
base_path, prop_string = data_path.rsplit(".", 1)
value_base = context_path_validate(context, base_path)
- values = [(i.name, i.identifier) for i in value_base.bl_rna.properties[prop_string].items]
+ values = [(i.name, i.identifier) for i in value_base.bl_rna.properties[prop_string].enum_items]
for name, identifier in values:
prop = self.layout.operator("wm.context_set_enum", text=name)