Esempio n. 1
0
/**
 * Detaches vertices from bone.
 **/
void Skeleton::detachVertices(void)
{
    for (unsigned i = 0; i < bones->size(); i++) {
        Bone *b = (*bones)[i];
        if (b->selected) {
            b->selectAttachedVertices(false); // clear selection
            b->detachVertices();
        }
    }
}