Revision: 76338
http://sourceforge.net/p/brlcad/code/76338
Author: starseeker
Date: 2020-07-14 21:55:37 +0000 (Tue, 14 Jul 2020)
Log Message:
-----------
Use the app tclcad_init
Modified Paths:
--------------
brlcad/trunk/src/conv/asc/asc2g.c
brlcad/trunk/src/mged/attach.c
Modified: brlcad/trunk/src/conv/asc/asc2g.c
===================================================================
--- brlcad/trunk/src/conv/asc/asc2g.c 2020-07-14 21:34:33 UTC (rev 76337)
+++ brlcad/trunk/src/conv/asc/asc2g.c 2020-07-14 21:55:37 UTC (rev 76338)
@@ -1580,7 +1580,7 @@
BU_LIST_INIT(&RTG.rtg_headwdb.l);
interp = Tcl_CreateInterp();
- Tclcad_Init(interp);
+ tclcad_init(interp, 0, NULL);
wdb_close(ofp);
{
Modified: brlcad/trunk/src/mged/attach.c
===================================================================
--- brlcad/trunk/src/mged/attach.c 2020-07-14 21:34:33 UTC (rev 76337)
+++ brlcad/trunk/src/mged/attach.c 2020-07-14 21:55:37 UTC (rev 76338)
@@ -562,7 +562,11 @@
}
/* Initialize libtclcad */
- (void)Tclcad_Init(INTERP);
+#ifdef HAVE_TK
+ (void)tclcad_init(INTERP, 1, NULL);
+#else
+ (void)tclcad_init(INTERP, 0, NULL);
+#endif
#ifdef HAVE_TK
if ((tkwin = Tk_MainWindow(INTERP)) == 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