Revision: 55839
          http://sourceforge.net/p/brlcad/code/55839
Author:   phoenixyjll
Date:     2013-06-25 10:01:42 +0000 (Tue, 25 Jun 2013)
Log Message:
-----------
Fix wrong index...

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp

Modified: brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp       2013-06-25 
09:40:14 UTC (rev 55838)
+++ brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp       2013-06-25 
10:01:42 UTC (rev 55839)
@@ -2800,7 +2800,7 @@
        for (int k = 0; k < events.Count(); k++) {
            ON_wString wstr;
            ON_TextLog textlog(wstr);
-           events[i].Dump(textlog);
+           events[k].Dump(textlog);
            ON_String str = ON_String(wstr);
            bu_log("Intersection event %d:\n %s", k + 1, str.Array());
        }
@@ -2838,7 +2838,7 @@
        for (int k = 0; k < events.Count(); k++) {
            ON_wString wstr;
            ON_TextLog textlog(wstr);
-           events[i].Dump(textlog);
+           events[k].Dump(textlog);
            ON_String str = ON_String(wstr);
            bu_log("Intersection event %d:\n %s", k + 1, str.Array());
        }
@@ -2876,7 +2876,7 @@
        for (int k = 0; k < events.Count(); k++) {
            ON_wString wstr;
            ON_TextLog textlog(wstr);
-           events[i].Dump(textlog);
+           events[k].Dump(textlog);
            ON_String str = ON_String(wstr);
            bu_log("Intersection event %d:\n %s", k + 1, str.Array());
        }
@@ -2914,7 +2914,7 @@
        for (int k = 0; k < events.Count(); k++) {
            ON_wString wstr;
            ON_TextLog textlog(wstr);
-           events[i].Dump(textlog);
+           events[k].Dump(textlog);
            ON_String str = ON_String(wstr);
            bu_log("Intersection event %d:\n %s", k + 1, str.Array());
        }
@@ -2952,7 +2952,7 @@
        for (int k = 0; k < events.Count(); k++) {
            ON_wString wstr;
            ON_TextLog textlog(wstr);
-           events[i].Dump(textlog);
+           events[k].Dump(textlog);
            ON_String str = ON_String(wstr);
            bu_log("Intersection event %d:\n %s", k + 1, str.Array());
        }

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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to