Fix various typos (#1837)

Found via `codespell`
This commit is contained in:
luzpaz
2021-10-28 17:56:02 -04:00
committed by GitHub
parent b46f1647d2
commit 0aa8a19b6d
10 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -220,7 +220,7 @@ void ColladaSerializer::ColladaExporter::ColladaScene::add(
COLLADASW::InstanceGeometry instanceGeometry(mSW);
instanceGeometry.setUrl("#" + geom_name);
BOOST_FOREACH(const std::string &material_name, material_ids) {
// Unescape to avoid double escaping beucase OpenCollada's material URI parameter escapes XML internally
// Unescape to avoid double escaping because OpenCollada's material URI parameter escapes XML internally
std::string unescaped = material_name;
IfcUtil::unescape_xml(unescaped);
@@ -371,7 +371,7 @@ void ColladaSerializer::ColladaExporter::ColladaMaterials::write() {
std::string material_name = getMaterialUri(material);
openMaterial(material_name);
// Unescape to avoid double escaping beucase OpenCollada's addInstanceEffect escapes XML internally
// Unescape to avoid double escaping because OpenCollada's addInstanceEffect escapes XML internally
IfcUtil::unescape_xml(material_name);
addInstanceEffect("#" + material_name + "-fx");