Commit 8c47316e authored by Jie Cao@格宇's avatar Jie Cao@格宇
Browse files

hot fix

No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -32482,7 +32482,7 @@ void tetrahedralize(char *switches, tetgenio *in, tetgenio *out,
//int argc = 3;
//std::string argv[3] = { "aaa","E:/BLcode/Hi-vcad/data/json/5245-18c6-49b5-ba91/tetgen_0.json","E:/BLcode/Hi-vcad/data/json/5245-18c6-49b5-ba91/tetgen_1.json" };
if (argc>1) {
//DebugMessageBox("please attach %s", argv[0]);
DebugMessageBox("please attach %s", argv[0]);
std::string argv1 = argv[1];
int pos = argv1.find_last_of('.');
if (argv1.substr(pos) == ".json") {
......@@ -237,6 +237,7 @@ namespace TETGEN_EXT {
return ss.str();
}
ss << "Ypni";
//ss << "pni"; //for tetrefine.
if (meshCtrl.empty()) {
ss << "q1.2CC";
return ss.str();
......@@ -984,6 +985,7 @@ namespace TETGEN_EXT {
std::stringstream os;
ScopedRedirect redirect;
tetgenio::gPrintFun = MyPrintFun;
tetgenio tetIn, out, addin;
Json::Value jsonObj;
tetgenbehavior b;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment