Revision: 71674
          http://sourceforge.net/p/brlcad/code/71674
Author:   starseeker
Date:     2018-09-07 13:29:07 +0000 (Fri, 07 Sep 2018)
Log Message:
-----------
plate mode bots are considered solid.

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

Modified: brlcad/trunk/src/libged/facetize.c
===================================================================
--- brlcad/trunk/src/libged/facetize.c  2018-09-07 00:11:14 UTC (rev 71673)
+++ brlcad/trunk/src/libged/facetize.c  2018-09-07 13:29:07 UTC (rev 71674)
@@ -571,12 +571,14 @@
        GED_DB_GET_INTERNAL(gedp, &intern, bot_dp, bn_mat_identity, 
&rt_uniresource, GED_ERROR);
        bot = (struct rt_bot_internal *)intern.idb_ptr;
        RT_BOT_CK_MAGIC(bot);
-       not_solid = bg_trimesh_solid2((int)bot->num_vertices, 
(int)bot->num_faces, bot->vertices, bot->faces, NULL);
-       if (not_solid) {
-           if (opts->verbosity) {
-               bu_log("-- Found non solid BoT: %s\n", bot_dp->d_namep);
+       if (bot->mode != RT_BOT_PLATE && bot->mode != RT_BOT_PLATE_NOCOS) {
+           not_solid = bg_trimesh_solid2((int)bot->num_vertices, 
(int)bot->num_faces, bot->vertices, bot->faces, NULL);
+           if (not_solid) {
+               if (opts->verbosity) {
+                   bu_log("-- Found non solid BoT: %s\n", bot_dp->d_namep);
+               }
+               ret = 0;
            }
-           ret = 0;
        }
        rt_db_free_internal(&intern);
     }

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to