Revision: 76716
http://sourceforge.net/p/brlcad/code/76716
Author: starseeker
Date: 2020-08-12 13:35:47 +0000 (Wed, 12 Aug 2020)
Log Message:
-----------
Accomidate _mged_ prefixed argv[0] values for GED commands.
Modified Paths:
--------------
brlcad/branches/RELEASE/src/libged/ged_init.cpp
Modified: brlcad/branches/RELEASE/src/libged/ged_init.cpp
===================================================================
--- brlcad/branches/RELEASE/src/libged/ged_init.cpp 2020-08-12 02:44:13 UTC
(rev 76715)
+++ brlcad/branches/RELEASE/src/libged/ged_init.cpp 2020-08-12 13:35:47 UTC
(rev 76716)
@@ -171,6 +171,10 @@
continue;
}
ged_cmd_map[key] = cmd;
+
+ // MGED calls many of these commands with an _mged_ prefix -
allow for that
+ std::string mged_key = std::string("_mged_") + key;
+ ged_cmd_map[mged_key] = cmd;
}
ged_handles.insert(dl_handle);
}
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