Revision: 41528
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41528&view=rev
Author:   brlcad
Date:     2010-12-07 00:30:43 +0000 (Tue, 07 Dec 2010)

Log Message:
-----------
the Tcl_DoOneEvent() event calls make the new bot interface update 
interactively.  this will make the interface stall/hang until the task 
(bot_decimate, bot_vertex_fuse, etc) completes, but there shouldn't be tcl 
event calls down in librt regardless.

Modified Paths:
--------------
    brlcad/trunk/TODO
    brlcad/trunk/src/librt/primitives/bot/bot.c

Modified: brlcad/trunk/TODO
===================================================================
--- brlcad/trunk/TODO   2010-12-06 23:26:15 UTC (rev 41527)
+++ brlcad/trunk/TODO   2010-12-07 00:30:43 UTC (rev 41528)
@@ -44,6 +44,9 @@
 THESE ARE UNSCHEDULED BACKLOG TASKS
 -----------------------------------
 
+* make nreed's new bot cleanup interface update interactively without
+  resorting to calls to Tcl_DoOneEvent() down in librt.
+
 * upgrade source repository back-end to the latest SVN 1.5 so we can
   benefit from proper merge tracking.
 

Modified: brlcad/trunk/src/librt/primitives/bot/bot.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bot/bot.c 2010-12-06 23:26:15 UTC (rev 
41527)
+++ brlcad/trunk/src/librt/primitives/bot/bot.c 2010-12-07 00:30:43 UTC (rev 
41528)
@@ -2770,7 +2770,6 @@
                j++;
            }
        }
-       Tcl_DoOneEvent(TCL_DONT_WAIT);
     }
 #else
     /* THE NEW WAY .. possibly O(n) with basic bin sorting */
@@ -3079,8 +3078,6 @@
     i = 0;
     while (i < num_verts-dead_verts) {
        while (!verts[i] && i < num_verts-dead_verts) {
-           Tcl_DoOneEvent(TCL_DONT_WAIT);
-
            dead_verts++;
            for (j=i; j<num_verts-dead_verts; j++) {
                k = j+1;
@@ -3452,7 +3449,6 @@
                max_verts--;
            }
        }
-       Tcl_DoOneEvent(TCL_DONT_WAIT);
     }
 
     bu_free(old_faces, "old_faces");
@@ -3807,8 +3803,6 @@
        }
     }
 
-    Tcl_DoOneEvent(TCL_DONT_WAIT);
-
     /* if only one face will be deleted, do not decimate this may be a
      * free edge
      */


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

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to