Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ IProgress<CardProgress> onOperationProgressed
foreach (var id in currentApplicationObjectsIds)
{
var docObject = doc.Objects.FindId(new Guid(id));
// NOTE: we're here being lenient on incomplete block creation. If a block contains unsupported elements that somehow threw/didn't manage to get baked as atomic objects,
// we just continue rather than throw on a null when accessing the docObject's Geometry.
if (docObject is null)
{
continue;
}
definitionGeometryList.Add(docObject.Geometry);
attributes.Add(docObject.Attributes);
}
Expand Down
Loading