forked from bartvdbraak/blender
Fix #30647: Error in wire drawing of subsurf
Patch by Nicholas Bishop, thanks!
This commit is contained in:
parent
2743f2bb3f
commit
5e764bf848
@ -1490,7 +1490,7 @@ static void ccgdm_pbvh_update(CCGDerivedMesh *ccgdm)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ccgDM_drawEdges(DerivedMesh *dm, int drawLooseEdges, int UNUSED(drawAllEdges))
|
static void ccgDM_drawEdges(DerivedMesh *dm, int drawLooseEdges, int drawAllEdges)
|
||||||
{
|
{
|
||||||
CCGDerivedMesh *ccgdm = (CCGDerivedMesh*) dm;
|
CCGDerivedMesh *ccgdm = (CCGDerivedMesh*) dm;
|
||||||
CCGSubSurf *ss = ccgdm->ss;
|
CCGSubSurf *ss = ccgdm->ss;
|
||||||
@ -1510,7 +1510,7 @@ static void ccgDM_drawEdges(DerivedMesh *dm, int drawLooseEdges, int UNUSED(draw
|
|||||||
if (!drawLooseEdges && !ccgSubSurf_getEdgeNumFaces(e))
|
if (!drawLooseEdges && !ccgSubSurf_getEdgeNumFaces(e))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (ccgdm->edgeFlags && !(ccgdm->edgeFlags[j] & ME_EDGEDRAW))
|
if (!drawAllEdges && ccgdm->edgeFlags && !(ccgdm->edgeFlags[j] & ME_EDGEDRAW))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (useAging && !(G.f&G_BACKBUFSEL)) {
|
if (useAging && !(G.f&G_BACKBUFSEL)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user