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

fix compile (bis)

parent 76c14b67
Branches
Tags
No related merge requests found
...@@ -48,7 +48,7 @@ bool PView::writeX3D(const std::string &fileName ) ...@@ -48,7 +48,7 @@ bool PView::writeX3D(const std::string &fileName )
} }
} }
int _count=0; int _count=0;
bool visible[_size] ; std::vector<bool> visible(_size) ;
if ( PView::getInnerBorder() ) { if ( PView::getInnerBorder() ) {
// evaluate bbox of each triangle // evaluate bbox of each triangle
std::list< TriangleToSort* > tlist ; std::list< TriangleToSort* > tlist ;
...@@ -736,4 +736,3 @@ static void writeX3DStringCenter( FILE *fp,char *label,double x, double y, doubl ...@@ -736,4 +736,3 @@ static void writeX3DStringCenter( FILE *fp,char *label,double x, double y, doubl
fprintf(fp," </Transform> \n"); fprintf(fp," </Transform> \n");
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment