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 --- source/blender/editors/space_outliner/outliner_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_outliner') diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index 9643958b741..e844688b6c2 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -1283,7 +1283,7 @@ static KeyingSet *verify_active_keyingset(Scene *scene, short add) /* add if none found */ // XXX the default settings have yet to evolve if ((add) && (ks==NULL)) { - ks= BKE_keyingset_add(&scene->keyingsets, NULL, KEYINGSET_ABSOLUTE, 0); + ks= BKE_keyingset_add(&scene->keyingsets, NULL, NULL, KEYINGSET_ABSOLUTE, 0); scene->active_keyingset= BLI_countlist(&scene->keyingsets); } -- cgit v1.2.3