Revision: 76575
          http://sourceforge.net/p/brlcad/code/76575
Author:   starseeker
Date:     2020-07-29 17:29:12 +0000 (Wed, 29 Jul 2020)
Log Message:
-----------
Move the hidden flag down to bview

Modified Paths:
--------------
    brlcad/branches/bioh/include/dm/bview.h
    brlcad/branches/bioh/include/tclcad.h
    brlcad/branches/bioh/src/libtclcad/tclcad_obj.c

Modified: brlcad/branches/bioh/include/dm/bview.h
===================================================================
--- brlcad/branches/bioh/include/dm/bview.h     2020-07-29 17:19:11 UTC (rev 
76574)
+++ brlcad/branches/bioh/include/dm/bview.h     2020-07-29 17:29:12 UTC (rev 
76575)
@@ -251,6 +251,7 @@
     fastf_t                     gv_curve_scale;
     fastf_t                     gv_data_vZ;
     size_t                      gv_bot_threshold;
+    int                                gv_hidden;
     struct bu_ptbl *callbacks;
 };
 

Modified: brlcad/branches/bioh/include/tclcad.h
===================================================================
--- brlcad/branches/bioh/include/tclcad.h       2020-07-29 17:19:11 UTC (rev 
76574)
+++ brlcad/branches/bioh/include/tclcad.h       2020-07-29 17:29:12 UTC (rev 
76575)
@@ -142,7 +142,6 @@
     struct dm                  *gdv_dmp;
     struct fbserv_obj          gdv_fbs;
     struct ged_obj             *gdv_gop;
-    int                                gdv_hide_view;
 };
 
 struct ged_obj {

Modified: brlcad/branches/bioh/src/libtclcad/tclcad_obj.c
===================================================================
--- brlcad/branches/bioh/src/libtclcad/tclcad_obj.c     2020-07-29 17:19:11 UTC 
(rev 76574)
+++ brlcad/branches/bioh/src/libtclcad/tclcad_obj.c     2020-07-29 17:29:12 UTC 
(rev 76575)
@@ -3518,7 +3518,7 @@
 
     /* return the hide view setting */
     if (argc == 2) {
-       bu_vls_printf(gedp->ged_result_str, "%d", gdvp->gdv_hide_view);
+       bu_vls_printf(gedp->ged_result_str, "%d", gdvp->gdv_view->gv_hidden);
        return GED_OK;
     }
 

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



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to