Revision: 48450
http://brlcad.svn.sourceforge.net/brlcad/?rev=48450&view=rev
Author: starseeker
Date: 2012-01-11 23:11:19 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
Make sure of tsp before we do something with it. CID 300
Modified Paths:
--------------
brlcad/trunk/src/librt/prep.c
Modified: brlcad/trunk/src/librt/prep.c
===================================================================
--- brlcad/trunk/src/librt/prep.c 2012-01-11 22:40:38 UTC (rev 48449)
+++ brlcad/trunk/src/librt/prep.c 2012-01-11 23:11:19 UTC (rev 48450)
@@ -1370,10 +1370,12 @@
if (comb) RT_CK_COMB(comb);
/* Ignore "air" regions unless wanted */
+ if (tsp) {
if (tsp->ts_rtip->useair == 0 && tsp->ts_aircode != 0) {
tsp->ts_rtip->rti_air_discards++;
return -1; /* drop this region */
}
+ }
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