diff --git a/Common/DefaultOptions.h b/Common/DefaultOptions.h index e3005364545c050d14ce055f016975db9b319e1d..c130d8673e652f78b810933cf2f3bf62622b081d 100644 --- a/Common/DefaultOptions.h +++ b/Common/DefaultOptions.h @@ -76,7 +76,7 @@ StringXString GeneralOptions_String[] = { #if defined(WIN32) "notepad.exe %s" , #elif defined(__APPLE__) - "open -e %s" , + "open -t %s" , #else "emacs %s &" , #endif @@ -697,7 +697,12 @@ StringXNumber GeneralOptions_Number[] = { "Display size of points (in pixels)" }, { F|O, "PolygonOffsetAlwaysOn" , opt_general_polygon_offset_always , 0. , "Always apply polygon offset, instead of trying to detect when it is required" }, - { F|O, "PolygonOffsetFactor" , opt_general_polygon_offset_factor , 1.0 , + { F|O, "PolygonOffsetFactor" , opt_general_polygon_offset_factor , +#if defined(__APPLE__) + 0.5 , +#else + 1.0 , +#endif "Polygon offset factor (offset = factor * DZ + r * units)" }, { F|O, "PolygonOffsetUnits" , opt_general_polygon_offset_units , 1. , "Polygon offset units (offset = factor * DZ + r * units)" }, diff --git a/benchmarks/3d/francois.geo b/benchmarks/3d/francois.geo index a27017c8910d7b81740bb70e8d949bfa283ba73f..d9ac240e143664f1db84dc8d692808318de44043 100644 --- a/benchmarks/3d/francois.geo +++ b/benchmarks/3d/francois.geo @@ -21,13 +21,10 @@ Line Loop(10) = {4,1,2,3}; Plane Surface(11) = {9,10}; Extrude Surface {11, {0,0.0,2.0}} { - Layers { {2,1,2} , {100,200,100} , {.05,.95,1.} } ; + Layers { {2,1,2} , {.05,.95,1.} } ; }; Coherence; Physical Surface(54) = {53}; Physical Surface(55) = {11}; Physical Surface(56) = {40,44,48,52}; Physical Surface(57) = {53}; - -//Surface Loop(58) = {53,24,11,28,32,36,40,44,48,52}; -//Complex Volume(59) = {58};