Skip to content

Commit e39835d

Browse files
hypirionaothms
authored andcommitted
Make API more consistent
1 parent 9c1660a commit e39835d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ifcconvert/IfcConvert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ int main(int argc, char** argv)
499499

500500
if (!default_material_filename.empty()) {
501501
try {
502-
IfcGeom::set_default_style(default_material_filename);
502+
IfcGeom::set_default_style_file(default_material_filename);
503503
} catch (const std::exception& e) {
504504
std::cerr << "[Error] Could not read default material file " << default_material_filename << ":" << std::endl;
505505
std::cerr << e.what() << std::endl;

src/ifcgeom/IfcGeomRenderStyles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ boost::optional<IfcGeom::SurfaceStyle::ColorComponent> read_colour_component(con
195195
return IfcGeom::SurfaceStyle::ColorComponent(rgb[0], rgb[1], rgb[2]);
196196
}
197197

198-
void IfcGeom::set_default_style(const std::string& json_file) {
198+
void IfcGeom::set_default_style_file(const std::string& json_file) {
199199
if (!default_materials_initialized) InitDefaultMaterials();
200200
default_materials.clear();
201201

src/ifcgeom/IfcGeomRenderStyles.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ namespace IfcGeom {
9797
};
9898

9999
IFC_GEOM_API const SurfaceStyle* get_default_style(const std::string& ifc_type);
100-
IFC_GEOM_API void set_default_style(const std::string& json_file);
100+
IFC_GEOM_API void set_default_style_file(const std::string& json_file);
101101
}
102102

103103
#endif

0 commit comments

Comments
 (0)