#1243 - pre-proto - Minor fixes to visualization of fracture polygons

This commit is contained in:
astridkbjorke
2017-02-28 14:35:19 +01:00
parent c2c3145e5a
commit f5edd780a5
3 changed files with 6 additions and 0 deletions

View File

@@ -673,6 +673,9 @@ std::vector<cvf::Vec3f> RimStimPlanFractureTemplate::fracturePolygon()
polygon.push_back(negNode);
}
//Adding first point last - to close the polygon
if (polygon.size()>0) polygon.push_back(polygon[0]);
return polygon;
}