2.5 - Restoring Bone Groups
[blender-staging.git] / source / blender / editors / armature / editarmature.c
index 49f13d99af98f6a297dbdaf219fa9a9ebb02729c..68d8ffbc11d86ef7e52927470d5b2337eb6ea473 100644 (file)
@@ -1598,10 +1598,8 @@ static int armature_delete_selected_exec(bContext *C, wmOperator *op)
 
        /* cancel if nothing selected */
        if (CTX_DATA_COUNT(C, selected_bones) == 0)
-         return OPERATOR_CANCELLED;
-
-       /* if (okee("Erase selected bone(s)")==0) return; */
-
+               return OPERATOR_CANCELLED;
+       
        /* Select mirrored bones */
        if (arm->flag & ARM_MIRROR_EDIT) {
                for (curBone=arm->edbo->first; curBone; curBone=curBone->next) {