Revision: 49420
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49420&view=rev
Author:   bob1961
Date:     2012-02-14 19:43:50 +0000 (Tue, 14 Feb 2012)
Log Message:
-----------
Now need to initialize stp->st_meth in _ged_get_obj_bounds2() before calling 
ft_prep(). This is because of a change to all of the rt_XXX_prep routines (i.e. 
they now call stp->st_meth->ft_bbox). This eliminates the resulting 
segmentation fault whenever _ged_get_obj_bounds2() is called.

Modified Paths:
--------------
    brlcad/trunk/src/libged/get_obj_bounds.c

Modified: brlcad/trunk/src/libged/get_obj_bounds.c
===================================================================
--- brlcad/trunk/src/libged/get_obj_bounds.c    2012-02-14 19:10:44 UTC (rev 
49419)
+++ brlcad/trunk/src/libged/get_obj_bounds.c    2012-02-14 19:43:50 UTC (rev 
49420)
@@ -261,6 +261,7 @@
     stp->st_dp = dp;
     MAT_IDN(imat);
     stp->st_matp = imat;
+    stp->st_meth = intern.idb_meth;
 
     /* Get bounds from internal object */
     VMOVE(stp->st_min, rpp_min);

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


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to