mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1243 - pre-proto - Minor fixes to visualization of fracture polygons
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user