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

pp

parent cef6be3b
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ set(GMSH_API
${CMAKE_BINARY_DIR}/Common/GmshConfig.h
${CMAKE_BINARY_DIR}/Common/GmshVersion.h
Common/Gmsh.h Common/GmshDefines.h Common/GmshMessage.h Common/VertexArray.h
Numeric/Numeric.h Numeric/Gauss.h Numeric/functionSpace.h Numeric/fullMatrix.h
Numeric/Numeric.h Numeric/Gauss.h Numeric/polynomialBasis.h Numeric/fullMatrix.h
Numeric/simpleFunction.h Numeric/cartesian.h
Geo/GModel.h Geo/GEntity.h Geo/GPoint.h Geo/GVertex.h Geo/GEdge.h
Geo/GFace.h Geo/GRegion.h Geo/GEdgeLoop.h Geo/GEdgeCompound.h
......
......@@ -980,13 +980,13 @@ void drawContext::drawMesh()
// make sure to flag any model-dependent post-processing view as
// changed if the underlying mesh has, before resetting the changed
// flag
for(unsigned int i = 0; i < GModel::list.size(); i++){
GModel *m = GModel::list[i];
for(unsigned int j = 0; j < PView::list.size(); j++)
if(PView::list[j]->getData()->hasModel(m) && CTX::instance()->mesh.changed)
PView::list[j]->setChanged(true);
if(CTX::instance()->mesh.changed){
for(unsigned int i = 0; i < GModel::list.size(); i++)
for(unsigned int j = 0; j < PView::list.size(); j++)
if(PView::list[j]->getData()->hasModel(GModel::list[i]))
PView::list[j]->setChanged(true);
}
glPointSize((float)CTX::instance()->mesh.pointSize);
gl2psPointSize((float)(CTX::instance()->mesh.pointSize *
CTX::instance()->print.epsPointSizeFactor));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment