no global Render

This commit is contained in:
Joachim Schoeberl 2014-11-17 17:23:05 +00:00
parent 0c6b48a5bd
commit ab32cda827
3 changed files with 5 additions and 8 deletions

View File

@ -8,14 +8,14 @@ lib_LTLIBRARIES = libstl.la
if NGGUI
lib_LTLIBRARIES += libstlvis.la
libstlvis_la_SOURCES = stlpkg.cpp vsstl.cpp
libstlvis_la_LIBADD = libstl.la $(top_builddir)/libsrc/visualization/libvisual.la
endif
libstl_la_SOURCES = meshstlsurface.cpp stlgeom.cpp stlgeomchart.cpp \
stlgeommesh.cpp stlline.cpp stltool.cpp stltopology.cpp
libstlvis_la_SOURCES = stlpkg.cpp vsstl.cpp
libstlvis_la_LIBADD = libstl.la
libstl_la_LIBADD = $(top_builddir)/libsrc/meshing/libmesh.la
# libstlvis_la_LIBADD = libstl.la $(top_builddir)/libsrc/linalg/libla.la

View File

@ -730,8 +730,7 @@ void STLSurfaceMeshing1 (STLGeometry & geom,
compress[icompress[i]] = 0;
extern void Render();
Render();
mparam.Render();
}
// NgProfiler::Print(stdout);

View File

@ -1459,8 +1459,7 @@ int STLMeshingDummy (STLGeometry* stlgeometry, shared_ptr<Mesh> & mesh, MeshingP
(*statout) << GetTime() << " & ";
#endif
extern void Render();
Render();
mparam.Render();
}
stlgeometry->surfaceoptimized = 1;
}
@ -1576,8 +1575,7 @@ int STLMeshingDummy (STLGeometry* stlgeometry, shared_ptr<Mesh> & mesh, MeshingP
<< mesh->GetNP() << " " << '\\' << '\\' << " \\" << "hline" << endl;
#endif
extern void Render();
Render();
mparam.Render();
}
}