[brlcad-commits] SF.net SVN: brlcad:[36079] brlcad/trunk/src/librt/primitives/eto/eto_brep. cpp
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2009-09-29 15:34:25
|
Revision: 36079 http://brlcad.svn.sourceforge.net/brlcad/?rev=36079&view=rev Author: starseeker Date: 2009-09-29 15:34:19 +0000 (Tue, 29 Sep 2009) Log Message: ----------- Oh yeah, while I'm thinking of it - flip the eto surface to be right side out. Modified Paths: -------------- brlcad/trunk/src/librt/primitives/eto/eto_brep.cpp Modified: brlcad/trunk/src/librt/primitives/eto/eto_brep.cpp =================================================================== --- brlcad/trunk/src/librt/primitives/eto/eto_brep.cpp 2009-09-29 15:29:34 UTC (rev 36078) +++ brlcad/trunk/src/librt/primitives/eto/eto_brep.cpp 2009-09-29 15:34:19 UTC (rev 36079) @@ -101,7 +101,8 @@ /* Create brep with one face*/ *b = ON_Brep::New(); - (*b)->NewFace(*eto_surf); + ON_BrepFace *newface = (*b)->NewFace(*eto_surf); + (*b)->FlipFace(*newface); // (*b)->Standardize(); // (*b)->Compact(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |