diff --git a/src/io_occ/io_occ_gltf_reader.cpp b/src/io_occ/io_occ_gltf_reader.cpp index 9e500629..3991ecce 100644 --- a/src/io_occ/io_occ_gltf_reader.cpp +++ b/src/io_occ/io_occ_gltf_reader.cpp @@ -16,13 +16,16 @@ class OccGltfReader::Properties : public OccBaseMeshReaderProperties { Properties(PropertyGroup* parentGroup) : OccBaseMeshReaderProperties(parentGroup) { - this->skipEmptyNodes.setDescription( - textIdTr("Ignore nodes without geometry(`Yes` by default)")); + this->skipEmptyNodes.setDescription( + textIdTr("Ignore nodes without geometry(`Yes` by default)") + ); this->useMeshNameAsFallback.setDescription( - textIdTr("Use mesh name in case if node name is empty(`Yes` by default)")); + textIdTr("Use mesh name in case if node name is empty(`Yes` by default)") + ); } - void restoreDefaults() override { + void restoreDefaults() override + { OccBaseMeshReaderProperties::restoreDefaults(); this->skipEmptyNodes.setValue(true); this->useMeshNameAsFallback.setValue(true); diff --git a/src/io_occ/io_occ_gltf_reader.h b/src/io_occ/io_occ_gltf_reader.h index 0670ce38..c6e4b290 100644 --- a/src/io_occ/io_occ_gltf_reader.h +++ b/src/io_occ/io_occ_gltf_reader.h @@ -36,7 +36,7 @@ class OccGltfReader : public OccBaseMeshReader { private: class Properties; Parameters m_params; - mutable RWGltf_CafReader m_reader; + RWGltf_CafReader m_reader; }; } // namespace IO diff --git a/src/io_occ/io_occ_obj_reader.cpp b/src/io_occ/io_occ_obj_reader.cpp index 590ce8ad..e495773a 100644 --- a/src/io_occ/io_occ_obj_reader.cpp +++ b/src/io_occ/io_occ_obj_reader.cpp @@ -17,10 +17,12 @@ class OccObjReader::Properties : public OccBaseMeshReaderProperties { : OccBaseMeshReaderProperties(parentGroup) { this->singlePrecisionVertexCoords.setDescription( - textId("Single precision flag for reading vertex data(coordinates)").tr()); + textId("Single precision flag for reading vertex data(coordinates)").tr() + ); } - void restoreDefaults() override { + void restoreDefaults() override + { OccBaseMeshReaderProperties::restoreDefaults(); this->singlePrecisionVertexCoords.setValue(false); }