mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Make API more consistent
This commit is contained in:
committed by
Thomas Krijnen
parent
9c1660a84b
commit
e39835d25e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user