diff --git a/Source/smokeview/options.h b/Source/smokeview/options.h index 877820810..37fa70303 100644 --- a/Source/smokeview/options.h +++ b/Source/smokeview/options.h @@ -21,6 +21,7 @@ //#define pp_READ_KEYBOARD // read keyboard in the command shell so the visualization can be paused //#define pp_GETMESH_TEST //#define pp_COMPRESS // new compression code +//#define pp_GEOM_EXACT // use exact coorindates for cases with more than 100 meshes //*** options: windows diff --git a/Source/smokeview/readsmv.c b/Source/smokeview/readsmv.c index 948d99d59..7d8491b24 100644 --- a/Source/smokeview/readsmv.c +++ b/Source/smokeview/readsmv.c @@ -2995,10 +2995,12 @@ int ReadSMV_Configure(){ //*** hide_scene when moving objects if there are are lot of OBSTs or geometry triangles if(global_scase.ntotal_blockages > 250000 || GetNCGeomTriangles() > 250000)hide_scene = 1; +#ifdef pp_GEOM_EXACT if(global_scase.meshescoll.nmeshes > 100){ blocklocation = BLOCKlocation_exact; glui_use_cfaces = 0; } +#endif PRINT_TIMER(timer_readsmv, "update trianglesfaces");