Revision: 76578
          http://sourceforge.net/p/brlcad/code/76578
Author:   starseeker
Date:     2020-07-29 18:31:02 +0000 (Wed, 29 Jul 2020)
Log Message:
-----------
Cherrypick r76577 from bioh - open+reopen.  Was seeing an issue starting up 
Archer with a supplied .g file, this clears it.

Modified Paths:
--------------
    brlcad/trunk/src/libged/open/open.c

Property Changed:
----------------
    brlcad/trunk/

Index: brlcad/trunk
===================================================================
--- brlcad/trunk        2020-07-29 18:26:52 UTC (rev 76577)
+++ brlcad/trunk        2020-07-29 18:31:02 UTC (rev 76578)

Property changes on: brlcad/trunk
___________________________________________________________________
Modified: svn:mergeinfo
## -1,5 +1,5 ##
 
/brlcad/branches/RELEASE:57439,57447-57860,69901-69913,70323-70333,71915-72242,72525-72534,72826-72858,74376-74454,74964-75140,75372-75685,76001-76451
-/brlcad/branches/bioh:75720-75736,75740-75742,75860-75891,75894-75986,76088-76153,76355-76365,76368-76376
+/brlcad/branches/bioh:75720-75736,75740-75742,75860-75891,75894-75986,76088-76153,76355-76365,76368-76376,76577
 
/brlcad/branches/brep-debug:61373,61375,61404,61427,61429,61470,61544,61567,61576,61999,62018,62094,62098,62107,62117,62406,62416-62519,62521-62584,62593-62614,62623,62658,62660-62674,62681-62771,62876,62901,62907,62910,62925,62928,62931-63025,63027,63051,63054-63056,63069,63071-63073,63122,63160-63161,63165,63171,63184,63187,63189-63190,63193-63196,63200,63202,63205-63210,63213,63219-63225,63232-63233,63236,63238,63338,63350-63353,63481,63618,63669,64173-64174,64176-64177,64229-64233,64242,64244,64360-64362,65165,65245,65249,65334,65833-65834,66370-66375,66931-66932,66934,67012-67015,67018-67019,67021-67022,67406,67740,67746-67748,67950,67952,68144-68145,68636,68640-68643,68820,69081,69109,69168,69206,69289,69346,69460-69461,69582-69583,69719-69721,69857-69859,69927,69995-69996,70148-70149,70347-70349,70377,70526-70527,71006-71007,71009-71022,71046-71047,71049,71096-71100
 /brlcad/branches/bullet:62518
 /brlcad/branches/cmake:43219
Modified: brlcad/trunk/src/libged/open/open.c
===================================================================
--- brlcad/trunk/src/libged/open/open.c 2020-07-29 18:26:52 UTC (rev 76577)
+++ brlcad/trunk/src/libged/open/open.c 2020-07-29 18:31:02 UTC (rev 76578)
@@ -93,17 +93,17 @@
 
 #ifdef GED_PLUGIN
 #include "../include/plugin.h"
-struct ged_cmd_impl open_cmd_impl = {
-    "open",
-    ged_reopen_core,
-    GED_CMD_DEFAULT
-};
+struct ged_cmd_impl reopen_cmd_impl = {"reopen", ged_reopen_core, 
GED_CMD_DEFAULT};
+const struct ged_cmd reopen_cmd = { &reopen_cmd_impl };
 
+struct ged_cmd_impl open_cmd_impl = {"open", ged_reopen_core, GED_CMD_DEFAULT};
 const struct ged_cmd open_cmd = { &open_cmd_impl };
-const struct ged_cmd *open_cmds[] = { &open_cmd, NULL };
 
-static const struct ged_plugin pinfo = { open_cmds, 1 };
 
+const struct ged_cmd *open_cmds[] = { &reopen_cmd, &open_cmd, NULL };
+
+static const struct ged_plugin pinfo = { open_cmds, 2 };
+
 COMPILER_DLLEXPORT const struct ged_plugin *ged_plugin_info()
 {
     return &pinfo;

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