Revision: 73838
http://sourceforge.net/p/brlcad/code/73838
Author: starseeker
Date: 2019-09-05 16:30:50 +0000 (Thu, 05 Sep 2019)
Log Message:
-----------
If we do preliminary triangulations, make sure to reset afterwards.
Modified Paths:
--------------
brlcad/trunk/src/libbrep/cdt.cpp
brlcad/trunk/src/libbrep/cdt_mesh.h
Modified: brlcad/trunk/src/libbrep/cdt.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt.cpp 2019-09-05 16:15:20 UTC (rev 73837)
+++ brlcad/trunk/src/libbrep/cdt.cpp 2019-09-05 16:30:50 UTC (rev 73838)
@@ -1474,6 +1474,7 @@
} else {
std::cout << "Face " << face.m_face_index << " base mesh CDT
failed\n";
}
+ fmesh->reset();
}
Modified: brlcad/trunk/src/libbrep/cdt_mesh.h
===================================================================
--- brlcad/trunk/src/libbrep/cdt_mesh.h 2019-09-05 16:15:20 UTC (rev 73837)
+++ brlcad/trunk/src/libbrep/cdt_mesh.h 2019-09-05 16:30:50 UTC (rev 73838)
@@ -423,6 +423,7 @@
std::map<ON_3dPoint *, ON_3dPoint *> *n
);
bool repair();
+ void reset();
bool valid();
bool serialize(const char *fname);
bool deserialize(const char *fname);
@@ -516,7 +517,6 @@
// Mesh manipulation functions
bool tri_add(triangle_t &atris);
void tri_remove(triangle_t &etris);
- void reset();
// Plotting utility functions
void plot_tri(const triangle_t &t, struct bu_color *buc, FILE *plot, int
r, int g, int b);
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