Blender Git Commit Log

Git Commits -> Revision e6838ecc

Revision e6838ecc by Germano Cavalcante (master)
December 8, 2017, 14:42 (GMT)
Fix T53512: Vertices with index 0 were not being selected

Bug introduced on rB9f5bf197a0c3.
The offset for selection of vertices (`bm_vertoffs`) starts where the offset o edges ends (`bm_wireoffs`).
However, the `bm_wireoffs` depends on the offset of face selection (`bm_solidoffs`).

Before the commit that introduced the bug, the drawn of edges (in backbuff) was always computed along with the `bm_wireoffs`:
```
bm_wireoffs = bm_solidoffs + em->bm->totedge;
```

Now that the edges are not always drawn in backbuff, `bm_wireoffs` has to start from `bm_solidoffs`.

Commit Details:

Full Hash: e6838ecc260441dcba0abfcd8a8292b94081df64
Parent Commit: f39a97f
Lines Changed: +6, -1

1 Modified Path:

/source/blender/editors/space_view3d/drawobject.c (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021