From a80b7d612947e1d26b10165a37bb603dae527afd Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 8 Mar 2012 14:04:06 +0000 Subject: =?UTF-8?q?Fixing=20several=20issues=20with=20keyingsets:=20*Add?= =?UTF-8?q?=20a=20new=20idname=20to=20keyingsets,=20keeping=20name=20as=20?= =?UTF-8?q?label-only=20(using=20same=20string=20for=20both=20made=20looku?= =?UTF-8?q?p=20fail=20when=20using=20i18n=20other=20than=20english,=20as?= =?UTF-8?q?=20it=20tried=20to=20compare=20an=20untranslated=20static=20str?= =?UTF-8?q?ing=20id=20against=20a=20translated=20RNA=20name).=20Also=20add?= =?UTF-8?q?ing=20a=20description=20string=20(can=20be=20helpful=20with=20c?= =?UTF-8?q?ustom=20keyingsets,=20imho).=20*Fixed=20a=20few=20other=20bugs?= =?UTF-8?q?=20related=20to=20that=20area=20(namely,=20you=20can=E2=80=99t?= =?UTF-8?q?=20deselect=20current=20keyingset=20from=20the=20shift-ctrl-alt?= =?UTF-8?q?-I=20popup=20menu,=20and=20insert/delete=20key=20ops=20were=20u?= =?UTF-8?q?sing=20a=20rather=20strange=20way=20to=20get=20chosen=20custom?= =?UTF-8?q?=20keyingset=E2=80=A6).=20*Fixed=20UI=20code=20so=20that=20it?= =?UTF-8?q?=20always=20uses=20(RNA)=20enum,=20and=20simplified=20menu-crea?= =?UTF-8?q?tion=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release/scripts/startup/bl_ui/properties_scene.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'release/scripts/startup/bl_ui/properties_scene.py') diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py index 7879f15270a..1c78549c086 100644 --- a/release/scripts/startup/bl_ui/properties_scene.py +++ b/release/scripts/startup/bl_ui/properties_scene.py @@ -115,7 +115,8 @@ class SCENE_PT_keying_sets(SceneButtonsPanel, Panel): row = layout.row() col = row.column() - col.prop(ks, "name") + col.prop(ks, "bl_label") + col.prop(ks, "bl_description") subcol = col.column() subcol.operator_context = 'INVOKE_DEFAULT' -- cgit v1.2.3