Revision: 53763
http://brlcad.svn.sourceforge.net/brlcad/?rev=53763&view=rev
Author: brlcad
Date: 2012-11-19 20:52:24 +0000 (Mon, 19 Nov 2012)
Log Message:
-----------
no longer need to manually clear the bitv, rt_get_solidbitv() does it for us
Modified Paths:
--------------
brlcad/trunk/src/librt/bundle.c
brlcad/trunk/src/librt/shoot.c
brlcad/trunk/src/librt/vshoot.c
Modified: brlcad/trunk/src/librt/bundle.c
===================================================================
--- brlcad/trunk/src/librt/bundle.c 2012-11-19 20:48:36 UTC (rev 53762)
+++ brlcad/trunk/src/librt/bundle.c 2012-11-19 20:52:24 UTC (rev 53763)
@@ -167,7 +167,6 @@
}
solidbits = rt_get_solidbitv(rtip->nsolids, resp);
- bu_bitv_clear(solidbits);
if (BU_LIST_IS_EMPTY(&resp->re_region_ptbl)) {
BU_GET(regionbits, struct bu_ptbl);
Modified: brlcad/trunk/src/librt/shoot.c
===================================================================
--- brlcad/trunk/src/librt/shoot.c 2012-11-19 20:48:36 UTC (rev 53762)
+++ brlcad/trunk/src/librt/shoot.c 2012-11-19 20:52:24 UTC (rev 53763)
@@ -700,7 +700,6 @@
* intersection calculations
*/
solidbits = rt_get_solidbitv(rtip->nsolids, resp);
- bu_bitv_clear(solidbits);
ray = ss->ap->a_ray; /* struct copy, don't mess with the original */
@@ -1017,7 +1016,6 @@
BU_ASSERT_PTR(BU_PTBL_GET(&rtip->rti_resources, resp->re_cpu), !=,
NULL);
solidbits = rt_get_solidbitv(rtip->nsolids, resp);
- bu_bitv_clear(solidbits);
if (BU_LIST_IS_EMPTY(&resp->re_region_ptbl)) {
BU_GET(regionbits, struct bu_ptbl);
@@ -1198,7 +1196,6 @@
* point and using pieces)
*/
backbits = rt_get_solidbitv(rtip->nsolids, resp);
- bu_bitv_clear(backbits);
/* call "rt_find_backing_dist()" to calculate the required
* start point for calculation, and to fill in the
Modified: brlcad/trunk/src/librt/vshoot.c
===================================================================
--- brlcad/trunk/src/librt/vshoot.c 2012-11-19 20:48:36 UTC (rev 53762)
+++ brlcad/trunk/src/librt/vshoot.c 2012-11-19 20:52:24 UTC (rev 53763)
@@ -172,7 +172,6 @@
HeadSeg = RT_SEG_NULL;
solidbits = rt_get_solidbitv(rtip->nsolids, ap->a_resource);
- bu_bitv_clear(solidbits);
if (BU_LIST_IS_EMPTY(&ap->a_resource->re_region_ptbl)) {
BU_GET(regionbits, struct bu_ptbl);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits