PD: [skip ci] fix UTF-8 handling in Hole feature

This commit is contained in:
wmayer
2022-09-11 21:33:40 +02:00
committed by Uwe
parent 1ccdc547a9
commit 9d5b46196e
+2 -1
View File
@@ -48,6 +48,7 @@
#include <App/DocumentObject.h>
#include <Base/Placement.h>
#include <Base/Reader.h>
#include <Base/Stream.h>
#include <Base/Tools.h>
#include <Mod/Part/App/FaceMakerCheese.h>
@@ -2295,7 +2296,7 @@ void Hole::readCutDefinitions()
for (const auto& f : files) {
if (f.extension() == "json") {
try {
std::ifstream input(f.filePath());
Base::ifstream input(f);
nlohmann::json j;
input >> j;
CutDimensionSet screwtype = j.get<CutDimensionSet>();