Multi-Objects: ARMATURE_OT_click_extrude

This operator is actually working as expected, but I added some
comments explained that it was already "ported".
This commit is contained in:
Dalai Felinto 2018-10-05 14:01:03 -03:00
parent 1d6817d580
commit 6723e173a5
Notes: blender-bot 2023-02-14 07:25:46 +01:00
Referenced by issue #54646, Multi-Object-Mode: Edit Armature Tools
1 changed files with 8 additions and 0 deletions

View File

@ -121,6 +121,14 @@ EditBone *ED_armature_ebone_add_primitive(Object *obedit_arm, float length, bool
/* previously addvert_armature */
/* the ctrl-click method */
/** Note this is already ported to multi-objects as it is.
* Since only the active bone is extruded even for single objects,
* it makes sense to stick to the active object here.
*
* If we want the support to be expanded we should something like the
* offset we do for mesh click extrude.
*/
static int armature_click_extrude_exec(bContext *C, wmOperator *UNUSED(op))
{
View3D *v3d;