Revision: 58899 http://sourceforge.net/p/brlcad/code/58899 Author: bob1961 Date: 2013-12-11 18:55:20 +0000 (Wed, 11 Dec 2013) Log Message: ----------- _ged_get_obj_bounds() should be calling rt_gettree with argv[i] instead of path.fp_names[0]->d_namep (i.e., use the provided path instead of the first element of the path). The more path an object is specified with the faster the call to rt_gettree() will run.
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 2013-12-11 15:11:31 UTC (rev 58898) +++ brlcad/trunk/src/libged/get_obj_bounds.c 2013-12-11 18:55:20 UTC (rev 58899) @@ -87,7 +87,7 @@ } /* if we don't already have it, get it */ - if (!gottree && rt_gettree(rtip, path.fp_names[0]->d_namep)) { + if (!gottree && rt_gettree(rtip, argv[i])) { bu_vls_printf(gedp->ged_result_str, "rt_gettree failed for %s\n", argv[i]); rt_free_rti(rtip); db_free_full_path(&path); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits