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/blenkernel/BKE_animsys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/BKE_animsys.h') diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index fb4a44b2c80..59dc2f2fc70 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -81,7 +81,7 @@ void BKE_relink_animdata(struct AnimData *adt); /* KeyingSets API */ /* Used to create a new 'custom' KeyingSet for the user, that will be automatically added to the stack */ -struct KeyingSet *BKE_keyingset_add(struct ListBase *list, const char name[], short flag, short keyingflag); +struct KeyingSet *BKE_keyingset_add(struct ListBase *list, const char idname[], const char name[], short flag, short keyingflag); /* Add a path to a KeyingSet */ struct KS_Path *BKE_keyingset_add_path(struct KeyingSet *ks, struct ID *id, const char group_name[], const char rna_path[], int array_index, short flag, short groupmode); -- cgit v1.2.3