Revision: 52489
http://brlcad.svn.sourceforge.net/brlcad/?rev=52489&view=rev
Author: r_weiss
Date: 2012-09-18 14:51:54 +0000 (Tue, 18 Sep 2012)
Log Message:
-----------
Update to function "nmg_face_rs_init" in file "nmg_fcut.c". Fixed a bug where
the entire "nmg_ray_state" structure was not being initialized.
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/nmg/nmg_fcut.c
Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_fcut.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_fcut.c 2012-09-18 14:42:51 UTC
(rev 52488)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_fcut.c 2012-09-18 14:51:54 UTC
(rev 52489)
@@ -1943,7 +1943,8 @@
NMG_CK_FACEUSE(fu2);
if (eg) NMG_CK_EDGE_G_LSEG(eg);
- memset((char *)rs, 0, sizeof(*rs));
+ memset((char *)rs, 0, sizeof(rs));
+
rs->magic = NMG_RAYSTATE_MAGIC;
rs->tol = tol;
rs->vu = (struct vertexuse **)b->buffer;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits