forked from bartvdbraak/blender
Fix for an unnormalized normal vector in ViewEdgeXBuilder::BuildSmoothFEdge().
This commit is contained in:
parent
04a9f393d8
commit
8ea8b6a1ba
@ -492,6 +492,8 @@ FEdge * ViewEdgeXBuilder::BuildSmoothFEdge(FEdge *feprevious, const OWXFaceLayer
|
||||
fe->setFrsMaterialIndex(ifl.fl->getFace()->frs_materialIndex());
|
||||
fe->setFace(ifl.fl->getFace());
|
||||
fe->setFaceMark(ifl.fl->getFace()->GetMark());
|
||||
if(feprevious == 0)
|
||||
normal.normalize();
|
||||
fe->setNormal(normal);
|
||||
fe->setPreviousEdge(feprevious);
|
||||
if(feprevious)
|
||||
|
Loading…
Reference in New Issue
Block a user