Revision: 76614
          http://sourceforge.net/p/brlcad/code/76614
Author:   starseeker
Date:     2020-07-31 19:32:07 +0000 (Fri, 31 Jul 2020)
Log Message:
-----------
MGED expects ged_init not to mess with the I/O callbacks currently.

Modified Paths:
--------------
    brlcad/branches/bioh/src/libged/ged.c

Modified: brlcad/branches/bioh/src/libged/ged.c
===================================================================
--- brlcad/branches/bioh/src/libged/ged.c       2020-07-31 19:18:16 UTC (rev 
76613)
+++ brlcad/branches/bioh/src/libged/ged.c       2020-07-31 19:32:07 UTC (rev 
76614)
@@ -266,9 +266,14 @@
     gedp->ged_create_vlist_solid_callback = NULL;
     gedp->ged_create_vlist_callback = NULL;
     gedp->ged_free_vlist_callback = NULL;
+    /* NOTE - MGED is already setting these
+     * before calling ged_init.  Doesn't
+     * feel right... */
+#if 0
     gedp->ged_create_io_handler = NULL;
     gedp->ged_delete_io_handler = NULL;
     gedp->ged_io_data = NULL;
+#endif
 
     /* Out of the gate we don't have display managers or views */
     gedp->ged_gvp = NULL;

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