[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42572] trunk/blender/source/blender/ editors/animation/keyingsets.c: fix for accessing the keying set menu as an enum rather than in int
Campbell Barton
ideasman42 at gmail.com
Sun Dec 11 18:10:54 CET 2011
Revision: 42572
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42572
Author: campbellbarton
Date: 2011-12-11 17:10:46 +0000 (Sun, 11 Dec 2011)
Log Message:
-----------
fix for accessing the keying set menu as an enum rather than in int
Modified Paths:
--------------
trunk/blender/source/blender/editors/animation/keyingsets.c
Modified: trunk/blender/source/blender/editors/animation/keyingsets.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyingsets.c 2011-12-11 16:56:09 UTC (rev 42571)
+++ trunk/blender/source/blender/editors/animation/keyingsets.c 2011-12-11 17:10:46 UTC (rev 42572)
@@ -798,7 +798,7 @@
for (ks= builtin_keyingsets.first; ks; ks=ks->next, i--) {
/* only show KeyingSet if context is suitable */
if (ANIM_keyingset_context_ok_poll(C, ks))
- uiItemEnumO_value(layout, ks->name, ICON_NONE, op_name, "type", i);
+ uiItemIntO(layout, ks->name, ICON_NONE, op_name, "type", i);
}
uiPupMenuEnd(C, pup);
More information about the Bf-blender-cvs
mailing list