ARMATURE_OT_switch_direction , multi-object Task T54646 , https://developer.blender.org/T54646
AbandonedPublic

Authored by Harsha (blendcode) on May 10 2018, 2:01 AM.

Diff Detail

Repository
rB Blender
Branch
testbranch (branched from blender2.8)
Build Status
Buildable 1524
Build 1524: arc lint + arc unit

Thanks for the patch.
Committed something similar on rB0f9b7560db36eaf1ce4d7e3e0c116f2f39e3227c.

I didn't incorporate your check for selected bones though. People should select things before running the operators, no?

source/blender/editors/armature/armature_edit.c
1061

You can't return in the middle of the loop. Not only this will lead to mem leakage but also other selected objects may still need to be processed.