mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Use world coords on OBJ/STP/IGS serializers as before
This commit is contained in:
@@ -805,6 +805,10 @@ int main(int argc, char** argv) {
|
||||
IfcGeom::update_default_style("IfcSpace").transparency = geometry_settings.get<ifcopenshell::geometry::settings::ForceSpaceTransparency>().get();
|
||||
}
|
||||
|
||||
if (output_extension == OBJ || output_extension == STP || output_extension == IGS) {
|
||||
geometry_settings.get<ifcopenshell::geometry::settings::UseWorldCoords>().value = true;
|
||||
}
|
||||
|
||||
boost::shared_ptr<GeometrySerializer> serializer; /**< @todo use std::unique_ptr when possible */
|
||||
if (output_extension == OBJ) {
|
||||
// Do not use temp file for MTL as it's such a small file.
|
||||
|
||||
Reference in New Issue
Block a user