* toggle==2: only active tag
* toggle==3: swap (no test)
*/
-void deselectall_armature(Object *obedit, int toggle, int doundo)
+void ED_armature_deselectall(Object *obedit, int toggle, int doundo)
{
bArmature *arm= obedit->data;
EditBone *eBone;
if (nearBone) {
if (!extend)
- deselectall_armature(obedit, 0, 0);
+ ED_armature_deselectall(obedit, 0, 0);
/* by definition the non-root connected bones have no root point drawn,
so a root selection needs to be delivered to the parent tip */
Mat3MulMat3(totmat, obmat, viewmat);
Mat3Inv(imat, totmat);
- deselectall_armature(obedit, 0, 0);
+ ED_armature_deselectall(obedit, 0, 0);
/* Create a bone */
bone= add_editbone(obedit, "Bone");
to_root= 1;
}
- deselectall_armature(obedit, 0, 0);
+ ED_armature_deselectall(obedit, 0, 0);
/* we re-use code for mirror editing... */
flipbone= NULL;
Mat3MulMat3(totmat, obmat, viewmat);
Mat3Inv(imat, totmat);
- deselectall_armature(obedit, 0, 0);
+ ED_armature_deselectall(obedit, 0, 0);
/* Create a bone */
bone= add_editbone(obedit, name);