Make API more consistent

This commit is contained in:
Jean Niklas L'orange
2018-10-12 10:32:25 +02:00
committed by Thomas Krijnen
parent 9c1660a84b
commit e39835d25e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -499,7 +499,7 @@ int main(int argc, char** argv)
if (!default_material_filename.empty()) {
try {
IfcGeom::set_default_style(default_material_filename);
IfcGeom::set_default_style_file(default_material_filename);
} catch (const std::exception& e) {
std::cerr << "[Error] Could not read default material file " << default_material_filename << ":" << std::endl;
std::cerr << e.what() << std::endl;