Revision: 73912
          http://sourceforge.net/p/brlcad/code/73912
Author:   starseeker
Date:     2019-09-12 18:36:30 +0000 (Thu, 12 Sep 2019)
Log Message:
-----------
Make sure these containers are set up at initialization - for some reason 
seed_tris was in an odd state when trying to load a cdtmesh serialization.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/cdt_mesh.h

Modified: brlcad/trunk/src/libbrep/cdt_mesh.h
===================================================================
--- brlcad/trunk/src/libbrep/cdt_mesh.h 2019-09-12 18:19:23 UTC (rev 73911)
+++ brlcad/trunk/src/libbrep/cdt_mesh.h 2019-09-12 18:36:30 UTC (rev 73912)
@@ -412,6 +412,22 @@
 {
 public:
 
+    cdt_mesh_t() {
+       pnts.clear();
+       p2ind.clear();
+       normals.clear();
+       n2ind.clear();
+       nmap.clear();
+       tris.clear();
+
+       uedges2tris.clear();
+       seed_tris.clear();
+
+       v2edges.clear();
+       v2tris.clear();
+       edges2tris.clear();
+    };
+
     /* The 3D triangle set (defined by index values) and it associated points 
array */
     std::set<triangle_t> tris;
     std::vector<ON_3dPoint *> pnts;

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



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to