Skip to content

Commit

Permalink
Merge branch 'hotfix-0.4.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ipadjen committed Jun 5, 2023
2 parents 86d21bf + a76678b commit 52e5947
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.4.1] - 2023-06-05
### Fixed
- STL export bugfix

## [0.4.0] - 2023-05-03
### Added
- (breaking) Support for many polygon formats (through GDAL)
Expand Down
3 changes: 2 additions & 1 deletion src/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,10 @@ void IO::output_stl(const OutputFeaturesPtr& allFeatures) {
of.emplace_back();
of.back().open(Config::get().outputFileName + "_" + Config::get().outputSurfaces[i] + ".stl");
}
of.back() << "\nsolid " << Config::get().outputSurfaces[i];
of.back() << "solid " << Config::get().outputSurfaces[i];
of.back() << fs[i];
of.back() << "\nendsolid " << Config::get().outputSurfaces[i];
if (!Config::get().outputSeparately && i != fs.size() - 1) of.back() << "\n";
}
for (auto& f : of) f.close();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

#include <boost/algorithm/string/predicate.hpp>

std::string CITY4CFD_VERSION = "0.4.0";
std::string CITY4CFD_VERSION = "0.4.1";

void printWelcome() {
auto logo{
Expand Down

0 comments on commit 52e5947

Please sign in to comment.