Revision: 55530
http://sourceforge.net/p/brlcad/code/55530
Author: bob1961
Date: 2013-05-22 11:56:01 +0000 (Wed, 22 May 2013)
Log Message:
-----------
In _ged_drawtrees, set autoview to 1 only if doing adaptive plotting.
Modified Paths:
--------------
brlcad/trunk/src/libged/draw.c
Modified: brlcad/trunk/src/libged/draw.c
===================================================================
--- brlcad/trunk/src/libged/draw.c 2013-05-22 11:12:16 UTC (rev 55529)
+++ brlcad/trunk/src/libged/draw.c 2013-05-22 11:56:01 UTC (rev 55530)
@@ -1124,7 +1124,8 @@
int i;
int ac = 1;
char *av[2];
- int autoview = 1;
+ struct ged_view *gvp;
+ int autoview;
RT_CHECK_DBI(gedp->ged_wdbp->dbip);
@@ -1134,6 +1135,12 @@
++drawtrees_depth;
av[1] = (char *)0;
+ gvp = gedp->ged_gvp;
+ if (gvp && gvp->gv_adaptive_plot)
+ autoview = 1;
+ else
+ autoview = 0;
+
/* options are already parsed into _dgcdp */
if (_dgcdp != (struct _ged_client_data *)0) {
dgcdp = *_dgcdp; /* struct copy */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits