diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-18 12:16:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-18 12:16:33 +0400 |
commit | 2fe38407803a749e193062aff7ba83120a49ab71 (patch) | |
tree | eaf6c3db1ca9e31c52a015a19723784553132c7b /source/blender/editors/armature | |
parent | 7e6520c08034f007848b75014df00210cc997e03 (diff) |
2 minor glitches
- removing bone groups didnt set the next one active.
- removing poselib was using int for enum rna property.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/poselib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/poselib.c b/source/blender/editors/armature/poselib.c index 5897da97f85..9e0e9374d5d 100644 --- a/source/blender/editors/armature/poselib.c +++ b/source/blender/editors/armature/poselib.c @@ -527,7 +527,7 @@ static int poselib_remove_exec (bContext *C, wmOperator *op) } /* get index (and pointer) of pose to remove */ - marker= BLI_findlink(&act->markers, RNA_int_get(op->ptr, "pose")); + marker= BLI_findlink(&act->markers, RNA_enum_get(op->ptr, "pose")); if (marker == NULL) { BKE_reportf(op->reports, RPT_ERROR, "Invalid Pose specified %d", RNA_int_get(op->ptr, "pose")); return OPERATOR_CANCELLED; |