Revision: 76399
          http://sourceforge.net/p/brlcad/code/76399
Author:   starseeker
Date:     2020-07-21 19:59:43 +0000 (Tue, 21 Jul 2020)
Log Message:
-----------
The _ged_current_gedp global gets used a fair bit - move it from loadview to a 
more central location.

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

Modified: brlcad/branches/gedplugins/src/libged/ged.c
===================================================================
--- brlcad/branches/gedplugins/src/libged/ged.c 2020-07-21 19:33:32 UTC (rev 
76398)
+++ brlcad/branches/gedplugins/src/libged/ged.c 2020-07-21 19:59:43 UTC (rev 
76399)
@@ -51,6 +51,9 @@
 #include "./ged_private.h"
 #include "./qray.h"
 
+/* TODO
+ * Ew.  Make this go away... */
+struct ged *_ged_current_gedp;
 
 /* FIXME: this function should not exist.  passing pointers as strings
  * indicates a failure in design and lazy coding.

Modified: brlcad/branches/gedplugins/src/libged/loadview/loadview.c
===================================================================
--- brlcad/branches/gedplugins/src/libged/loadview/loadview.c   2020-07-21 
19:33:32 UTC (rev 76398)
+++ brlcad/branches/gedplugins/src/libged/loadview/loadview.c   2020-07-21 
19:59:43 UTC (rev 76399)
@@ -31,10 +31,9 @@
 
 #include "../ged_private.h"
 
-
+/* TODO:  ew - globals.  Make them go away...  */
 vect_t _ged_eye_model;
 mat_t _ged_viewrot;
-struct ged *_ged_current_gedp;
 
 /**
  * here we define a minimal table of commands that are supported by the

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