Import: fix lint warnings

* Make constructors explicit
* Fix a regression from PR 10783
This commit is contained in:
wmayer
2023-10-01 01:58:32 +02:00
committed by wwmayer
parent 75b313be28
commit 58cc0f2a0d
11 changed files with 26 additions and 27 deletions

View File

@@ -588,7 +588,6 @@ private:
std::string Utf8Name = std::string(Name);
PyMem_Free(Name);
std::string name8bit = Part::encodeFilename(Utf8Name);
// determine export options
Part::OCAF::ImportExportSettings settings;
@@ -680,7 +679,7 @@ private:
writer.write(hDoc);
}
else if (file.hasExtension({"glb", "gltf"})) {
Import::WriterGltf writer(name8bit, file);
Import::WriterGltf writer(file);
writer.write(hDoc);
}