Import: [skip ci] degrade output in STEP importer to log messages

This commit is contained in:
wmayer
2020-05-28 17:52:01 +02:00
parent fc133f3af5
commit cf5f580f4e
2 changed files with 4 additions and 4 deletions

View File

@@ -185,7 +185,7 @@ void ImportOCAF::loadShapes(const TDF_Label& label, const TopLoc_Location& loc,
}
#ifdef FC_DEBUG
Base::Console().Message("H:%d, N:%s, T:%d, A:%d, S:%d, C:%d, SS:%d, F:%d, R:%d, C:%d, SS:%d\n",
Base::Console().Log("H:%d, N:%s, T:%d, A:%d, S:%d, C:%d, SS:%d, F:%d, R:%d, C:%d, SS:%d\n",
hash,
part_name.c_str(),
aShapeTool->IsTopLevel(label),

View File

@@ -524,9 +524,9 @@ private:
auto ret = ocaf.loadShapes();
hApp->Close(hDoc);
FC_DURATION_PLUS(d2,t);
FC_DURATION_MSG(d1,"file read");
FC_DURATION_MSG(d2,"import");
FC_DURATION_MSG((d1+d2),"total");
FC_DURATION_LOG(d1,"file read");
FC_DURATION_LOG(d2,"import");
FC_DURATION_LOG((d1+d2),"total");
if(ret) {
App::GetApplication().setActiveDocument(pcDoc);