Skip to content
Snippets Groups Projects
Commit 42f73b49 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent de64fdb9
No related branches found
No related tags found
No related merge requests found
...@@ -143,8 +143,13 @@ int gmshEdge::minimumMeshSegments () const ...@@ -143,8 +143,13 @@ int gmshEdge::minimumMeshSegments () const
int gmshEdge::minimumDrawSegments () const int gmshEdge::minimumDrawSegments () const
{ {
int n = List_Nbr(c->Control_Points) - 1;
if(!n) n = GEdge::minimumDrawSegments();
if(geomType() == Line) if(geomType() == Line)
return GEdge::minimumDrawSegments () ; return n;
else else if(geomType() == Circle || geomType() == Ellipse)
return CTX.geom.circle_points; return CTX.geom.circle_points;
else
return 10 * n;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment