diff --git a/src/backend/PatchRecord.cpp b/src/backend/PatchRecord.cpp index 9b87835194..967f5d300f 100644 --- a/src/backend/PatchRecord.cpp +++ b/src/backend/PatchRecord.cpp @@ -60,24 +60,6 @@ void PatchRecord::flush_impl( void PatchRecord::read() { - Parameter aRead; - aRead.name = "unitDimension"; - IOHandler()->enqueue(IOTask(this, aRead)); - IOHandler()->flush(internal::defaultFlushParams); - - if (auto val = - Attribute(*aRead.resource).getOptional >(); - val.has_value()) - this->setAttribute("unitDimension", val.value()); - else - throw error::ReadError( - error::AffectedObject::Attribute, - error::Reason::UnexpectedContent, - {}, - "Unexpected Attribute datatype for 'unitDimension' (expected an " - "array of seven floating point numbers, found " + - datatypeToString(Attribute(*aRead.resource).dtype) + ")"); - Parameter dList; IOHandler()->enqueue(IOTask(this, dList)); IOHandler()->flush(internal::defaultFlushParams);