Revision: 76184
          http://sourceforge.net/p/brlcad/code/76184
Author:   starseeker
Date:     2020-06-23 15:31:24 +0000 (Tue, 23 Jun 2020)
Log Message:
-----------
Add a few notes

Modified Paths:
--------------
    brlcad/trunk/src/libged/view/data_lines.c

Modified: brlcad/trunk/src/libged/view/data_lines.c
===================================================================
--- brlcad/trunk/src/libged/view/data_lines.c   2020-06-22 22:13:19 UTC (rev 
76183)
+++ brlcad/trunk/src/libged/view/data_lines.c   2020-06-23 15:31:24 UTC (rev 
76184)
@@ -21,6 +21,28 @@
  *
  * Logic for drawing arbitary lines not associated with geometry.
  *
+ * TODO - at the moment this will only display in Archer - MGED
+ * doesn't appear to have the necessary drawing hooks to view
+ * the data structures populated by this command.  To exercise
+ * it in Archer:
+ *
+ * Archer> view sdata_lines points {{0 -1000 0} {0 1000 0}}
+ * Archer> view sdata_lines draw 1
+ * Archer> view sdata_lines line_width 100
+ * Archer> view sdata_lines color 255 0 0
+ *
+ * Note that gedp->ged_gvp must be set to the correct display
+ * manager before calling this command, to put the output in
+ * the correct display manager.  If the same line is to be shown
+ * in multiple display managers, the command must be run once
+ * per display manager:
+ *
+ * gedp->ged_gvp = dm1;
+ * ged_view(gedp, argc, argv);
+ * gedp->ged_gvp = dm2;
+ * ged_view(gedp, argc, argv);
+ *
+ * etc...
  */
 
 #include "common.h"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to