=== Transform Snap ===

Bugfix face snapping in edit mesh didn't test for selection properly
This commit is contained in:
2008-07-06 15:38:51 +00:00
parent 8a729824f4
commit a06a4663c4

View File

@@ -814,7 +814,7 @@ int snapDerivedMesh(Object *ob, DerivedMesh *dm, float obmat[][4], float ray_sta
{
efa = EM_get_face_for_index(index);
if (efa && efa->f & SELECT)
if (efa && ((efa->v1->f & SELECT) || (efa->v2->f & SELECT) || (efa->v3->f & SELECT) || (efa->v4 && efa->v4->f & SELECT)))
{
test = 0;
}