Revision: 48455
          http://brlcad.svn.sourceforge.net/brlcad/?rev=48455&view=rev
Author:   starseeker
Date:     2012-01-12 00:02:31 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
No tsp, no use tsp.  CID 307

Modified Paths:
--------------
    brlcad/trunk/src/librt/tree.c

Modified: brlcad/trunk/src/librt/tree.c
===================================================================
--- brlcad/trunk/src/librt/tree.c       2012-01-11 23:59:03 UTC (rev 48454)
+++ brlcad/trunk/src/librt/tree.c       2012-01-12 00:02:31 UTC (rev 48455)
@@ -116,19 +116,19 @@
 HIDDEN int
 _rt_gettree_region_start(struct db_tree_state *tsp, const struct db_full_path 
*pathp, const struct rt_comb_internal *combp, genptr_t UNUSED(client_data))
 {
-    if (tsp) {
-       RT_CK_RTI(tsp->ts_rtip);
-       RT_CK_RESOURCE(tsp->ts_resp);
-    }
+  if (tsp) {
+    RT_CK_RTI(tsp->ts_rtip);
+    RT_CK_RESOURCE(tsp->ts_resp);
     if (pathp) RT_CK_FULL_PATH(pathp);
     if (combp) RT_CHECK_COMB(combp);
 
     /* Ignore "air" regions unless wanted */
     if (tsp->ts_rtip->useair == 0 &&  tsp->ts_aircode != 0) {
-       tsp->ts_rtip->rti_air_discards++;
-       return -1;      /* drop this region */
+      tsp->ts_rtip->rti_air_discards++;
+      return -1;       /* drop this region */
     }
-    return 0;
+  }
+  return 0;
 }
 
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to