mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 05:10:53 +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();
|
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 */
|
boost::shared_ptr<GeometrySerializer> serializer; /**< @todo use std::unique_ptr when possible */
|
||||||
if (output_extension == OBJ) {
|
if (output_extension == OBJ) {
|
||||||
// Do not use temp file for MTL as it's such a small file.
|
// Do not use temp file for MTL as it's such a small file.
|
||||||
|
|||||||
Reference in New Issue
Block a user