mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Report tasks on actual mapped products
This commit is contained in:
@@ -185,9 +185,9 @@ namespace IfcGeom {
|
|||||||
tasks_.push_back(res);
|
tasks_.push_back(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<IfcUtil::IfcBaseClass*> products;
|
size_t num_products = 0;
|
||||||
for (auto& r : reps) {
|
for (auto& r : tasks_) {
|
||||||
std::copy(r.products->begin(), r.products->end(), std::back_inserter(products));
|
num_products += r.products.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -220,7 +220,7 @@ namespace IfcGeom {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Logger::Notice("Created " + boost::lexical_cast<std::string>(tasks_.size()) + " tasks for " + boost::lexical_cast<std::string>(products.size()) + " products");
|
Logger::Notice("Created " + boost::lexical_cast<std::string>(tasks_.size()) + " tasks for " + boost::lexical_cast<std::string>(num_products) + " products");
|
||||||
|
|
||||||
if (tasks_.size() == 0) {
|
if (tasks_.size() == 0) {
|
||||||
Logger::Warning("No representations encountered, aborting");
|
Logger::Warning("No representations encountered, aborting");
|
||||||
|
|||||||
Reference in New Issue
Block a user