cmlibs / zinc

Source code repository for OpenCMISS-Zinc
Mozilla Public License 2.0
15 stars 18 forks source link

Read/merge embedded nodes makes element-node map invalid #236

Closed rchristie closed 2 years ago

rchristie commented 2 years ago

Merging embedded locations on file read leaves the element to embedded node map with multiple entries for the same node. Deleting the host element causes and infinite loop due to the clean up logic for the map. Preliminary investigations on the merge code indicates the target node doesn't think it is embedded (no host element), but its embedding element-node map still has entries for the nodes embedded in it.