HomePhabricator
Diffusion MITK 69f4a606cd49

Relax check for empty time steps

Description

Relax check for empty time steps

While a timestep with a valid polydata but without any content in
that polydata could be considered empty in a practical sense, it
isn't empty in the technical sense, as there actually is a
polydata, even though it is empty.

Time geometry, header, meta and property data is still present and should
be considered when saving such data. Declaring it as empty, though, would
trigger our serialization routines to dismiss all data.

Details

Provenance
kislinskAuthored on Oct 7 2022, 3:36 PM
kislinskPushed on Oct 7 2022, 3:37 PM
Differential Revision
Restricted Differential Revision
Parents
rMITKe5b9f644d75f: Recognize data tag with empty file attribute as error
Branches
Unknown
Tags
Unknown
Tasks
T29334: Error on saving an MITK scene file with an empty surface, results in crash when loading the scene file again