[cgma-dev] r3614 - cgm/trunk/itaps

jvporter at wisc.edu jvporter at wisc.edu
Mon Mar 15 08:50:26 CDT 2010


Author: jvporter
Date: 2010-03-15 08:50:26 -0500 (Mon, 15 Mar 2010)
New Revision: 3614

Modified:
   cgm/trunk/itaps/iGeom_CGMA.cc
Log:
Make iGeom_getPntClsf properly detect errors


Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc	2010-03-15 13:36:44 UTC (rev 3613)
+++ cgm/trunk/itaps/iGeom_CGMA.cc	2010-03-15 13:50:26 UTC (rev 3614)
@@ -3211,7 +3211,7 @@
   RefEntity** ptr = (RefEntity**)entity_handle;
   const CubitVector pt(x,y,z);
   *ptr = iGeom_get_point_containment( pt );
-  RETURN( ptr ? iBase_SUCCESS : iBase_FAILURE );
+  RETURN( *ptr ? iBase_SUCCESS : iBase_FAILURE );
 }
 
 void



More information about the cgma-dev mailing list