mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Clean : Removed debug logs
This commit is contained in:
@@ -589,7 +589,6 @@ void ColladaSerializer::ColladaExporter::endDocument() {
|
|||||||
for (std::vector<DeferredObject>::const_iterator it = deferreds.begin(); it != deferreds.end(); ++it){
|
for (std::vector<DeferredObject>::const_iterator it = deferreds.begin(); it != deferreds.end(); ++it){
|
||||||
const std::string object_name = it->unique_id;
|
const std::string object_name = it->unique_id;
|
||||||
|
|
||||||
// TODO : handle the case where a representation object has no parent (Can this really happen ?)
|
|
||||||
if (use_hierarchy)
|
if (use_hierarchy)
|
||||||
{
|
{
|
||||||
unsigned parentsNumber = it->parents.size();
|
unsigned parentsNumber = it->parents.size();
|
||||||
|
|||||||
@@ -136,19 +136,6 @@ private:
|
|||||||
|
|
||||||
friend bool operator < (const DeferredObject & def_obj1, const DeferredObject & def_obj2)
|
friend bool operator < (const DeferredObject & def_obj1, const DeferredObject & def_obj2)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
std::cout << "*************** COMPARE ***************\n";
|
|
||||||
std::cout << "range 1 : " << def_obj1.unique_id << "\n";
|
|
||||||
for (unsigned i = 0; i < def_obj1.parents.size(); i++)
|
|
||||||
{
|
|
||||||
std::cout << "=== " << def_obj1.parents.at(i)->name() << " | " << def_obj1.parents.at(i)->id() << " ===\n";
|
|
||||||
}
|
|
||||||
std::cout << "range 2 : " << def_obj2.unique_id << "\n";
|
|
||||||
for (unsigned i = 0; i < def_obj2.parents.size(); i++)
|
|
||||||
{
|
|
||||||
std::cout << "=== " << def_obj2.parents.at(i)->name() << " | " << def_obj2.parents.at(i)->id() << " ===\n";
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
unsigned size = (def_obj1.parents.size() < def_obj2.parents.size() ? def_obj1.parents.size() : def_obj2.parents.size());
|
unsigned size = (def_obj1.parents.size() < def_obj2.parents.size() ? def_obj1.parents.size() : def_obj2.parents.size());
|
||||||
int cpt = 0;
|
int cpt = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user