Revision: 49342
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49342&view=rev
Author:   brlcad
Date:     2012-02-08 19:49:33 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
remove the hack since it's a non-fix when a feature gets removed.  otherwise, 
r48606 should get reverted.  (cov DEADCODE cid 2067)

Revision Links:
--------------
    http://brlcad.svn.sourceforge.net/brlcad/?rev=48606&view=rev

Modified Paths:
--------------
    brlcad/trunk/src/libged/nmg_simplify.c

Modified: brlcad/trunk/src/libged/nmg_simplify.c
===================================================================
--- brlcad/trunk/src/libged/nmg_simplify.c      2012-02-08 19:29:48 UTC (rev 
49341)
+++ brlcad/trunk/src/libged/nmg_simplify.c      2012-02-08 19:49:33 UTC (rev 
49342)
@@ -45,7 +45,7 @@
     struct shell *s;
     struct bu_ptbl faces;
     struct face *fp;
-    int do_all=0;
+    int do_all=1;
     int do_arb=0;
     int do_tgc=0;
     int do_poly=0;
@@ -71,18 +71,12 @@
        ret = GED_HELP;
        goto out3;
     } else if (argc == 3) {
-#if 1
-       /* temporary hack to not allow the 'all' option. if you choose
-         * all but have a TGC, the cleanup for ARB breaks TGC.
+       /* FIXME: if you use the default but have a TGC, the cleanup
+        * for ARB breaks TGC.
          */
-       bu_vls_printf(gedp->ged_result_str, "Usage: %s %s\n", argv[0], usage);
-       ret = GED_HELP;
-       goto out3;
-#else
        do_arb = do_tgc = do_poly = do_all = 1; /* do all */
        new_name = (char *)argv[1];
        nmg_name = (char *)argv[2];
-#endif
     } else if (argc == 4) {
        do_all = 0;
        if (!bu_strncmp(argv[1], "arb", 3)) {

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


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to