Revision: 69119
          http://sourceforge.net/p/brlcad/code/69119
Author:   brlcad
Date:     2016-10-18 16:16:00 +0000 (Tue, 18 Oct 2016)
Log Message:
-----------
with the change from rt_in_rpp to ray_in_rpp now in the same compilation unit, 
the compiler notices that we only conditionally set r_min/r_max in ray_in_rpp.  
init to zero so we don't try to print random garbage when the ray misses.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/nmg/nmg_inter.c

Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_inter.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_inter.c   2016-10-18 15:59:33 UTC 
(rev 69118)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_inter.c   2016-10-18 16:16:00 UTC 
(rev 69119)
@@ -2108,7 +2108,7 @@
 int
 nmg_isect_construct_nice_ray(struct nmg_inter_struct *is, struct faceuse *fu2)
 {
-    struct nmg_ray line;
+    struct nmg_ray line = {0, VINIT_ZERO, VINIT_ZERO, 0.0, 0.0};
     vect_t invdir;
 
     NMG_CK_INTER_STRUCT(is);

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to