mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +00:00
style: keep tab indenting consistency
This commit is contained in:
committed by
Thomas Krijnen
parent
c6e3ac4155
commit
dd53f9b494
@@ -206,8 +206,8 @@ ifcopenshell::geometry::kernels::AbstractKernel* ifcopenshell::geometry::kernels
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (kernels.size() != n + 1) {
|
if (kernels.size() != n + 1) {
|
||||||
for (auto k : kernels)
|
for (auto k : kernels)
|
||||||
delete k;
|
delete k;
|
||||||
throw IfcParse::IfcException("Invalid hybrid kernel " + geometry_library);
|
throw IfcParse::IfcException("Invalid hybrid kernel " + geometry_library);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,12 +15,12 @@ ifcopenshell::geometry::Converter::Converter(const std::string& geometry_library
|
|||||||
|
|
||||||
ifcopenshell::geometry::Converter::~Converter()
|
ifcopenshell::geometry::Converter::~Converter()
|
||||||
{
|
{
|
||||||
if (kernel_ != nullptr) {
|
if (kernel_ != nullptr) {
|
||||||
delete kernel_;
|
delete kernel_;
|
||||||
}
|
}
|
||||||
if (mapping_ != nullptr) {
|
if (mapping_ != nullptr) {
|
||||||
delete mapping_;
|
delete mapping_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|||||||
@@ -978,7 +978,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To
|
|||||||
if (b.Extent() == 0) {
|
if (b.Extent() == 0) {
|
||||||
Logger::Warning("No other operands remaining, using first operand");
|
Logger::Warning("No other operands remaining, using first operand");
|
||||||
result = a;
|
result = a;
|
||||||
delete builder;
|
delete builder;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1131,7 +1131,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To
|
|||||||
} else {
|
} else {
|
||||||
Logger::Notice("Processed fully in 2D");
|
Logger::Notice("Processed fully in 2D");
|
||||||
result = mp.Shape();
|
result = mp.Shape();
|
||||||
delete builder;
|
delete builder;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user