- added #include <windows.h> for windows compiling

- fixed an incoherence between string names of the filter
tested for compilation & run at 64bit, still to be tested at 32bit
This commit is contained in:
Marco Callieri mcallieri 2014-11-03 12:35:46 +00:00
parent e234dff76e
commit 91b9444ed4

View File

@ -21,6 +21,10 @@
* *
****************************************************************************/
#ifdef WIN32
#include <windows.h>
#endif
#include "Src/MarchingCubes.h"
#include "Src/Octree.h"
#include "Src/SparseMatrix.h"
@ -37,6 +41,8 @@ void DumpOutput2( char* str , const char* format , ... );
#include "filter_screened_poisson.h"
#include <QtScript>
void DumpOutput( const char* format , ... )
{
char buf[4096];
@ -344,7 +350,7 @@ void PoissonClean(MeshType &m, bool scaleNormal)
bool FilterScreenedPoissonPlugin::applyFilter( const QString& filterName,MeshDocument& md,EnvWrap& env, vcg::CallBackPos* cb)
{
if (filterName == "Screened Poisson Surf. Reconstruction")
if (filterName == "Screened Poisson Surface Reconstruction")
{
MeshModel *mm =md.mm();
MeshModel *pm =md.addNewMesh("","Poisson mesh",false);