<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Sorry, guys. I should've checked it.</DIV>
<DIV> </DIV>
<DIV>Jane<BR><BR>--- On <B>Tue, 1/25/11, tautges@mcs.anl.gov <I><tautges@mcs.anl.gov></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: tautges@mcs.anl.gov <tautges@mcs.anl.gov><BR>Subject: [cgma-dev] r4471 - cgm/trunk/geom/OCC<BR>To: cgma-dev@mcs.anl.gov<BR>Date: Tuesday, January 25, 2011, 4:09 PM<BR><BR>
<DIV class=plainMail>Author: tautges<BR>Date: 2011-01-25 15:09:54 -0600 (Tue, 25 Jan 2011)<BR>New Revision: 4471<BR><BR>Modified:<BR> cgm/trunk/geom/OCC/OCCQueryEngine.cpp<BR>Log:<BR>Fixing a few returns; JANE - YOU SHOULD CHECK THESE.<BR><BR><BR><BR>Modified: cgm/trunk/geom/OCC/OCCQueryEngine.cpp<BR>===================================================================<BR>--- cgm/trunk/geom/OCC/OCCQueryEngine.cpp 2011-01-25 21:05:19 UTC (rev 4470)<BR>+++ cgm/trunk/geom/OCC/OCCQueryEngine.cpp 2011-01-25 21:09:54 UTC (rev 4471)<BR>@@ -1968,7 +1968,7 @@<BR> double area = myProps.Mass();<BR> double tol = get_sme_resabs_tolerance();<BR> if(area < tol * tol)<BR>- return CUBIT_FAILURE;<BR>+ return NULL;<BR><BR> if (!OCCMap->IsBound(aShape))<BR> {<BR>@@ -2169,7 +2169,7
@@<BR> BRepGProp::LinearProperties(aShape, myProps);<BR> double length = myProps.Mass();<BR> if(length < get_sme_resabs_tolerance())<BR>- return CUBIT_FAILURE;<BR>+ return NULL;<BR><BR> if (!OCCMap->IsBound(aShape)) <BR> {<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></DIV></BLOCKQUOTE></td></tr></table><br>