diff --git a/src/mol-model/structure/structure/unit/links/intra-compute.ts b/src/mol-model/structure/structure/unit/links/intra-compute.ts index c17d8153972e6254db102ac5e02db46191671bda..5ba8eb95b351a01f472f10132a16f190af4ece99 100644 --- a/src/mol-model/structure/structure/unit/links/intra-compute.ts +++ b/src/mol-model/structure/structure/unit/links/intra-compute.ts @@ -35,7 +35,7 @@ function _computeBonds(unit: Unit.Atomic, params: LinkComputationParameters): In const { label_comp_id } = unit.model.atomicHierarchy.residues; const query3d = unit.lookup3d; - const structConn = unit.model.sourceData.kind === 'mmCIF' ? StructConn.fromModel(unit.model) : void 0; + const structConn = unit.model.sourceData.kind === 'mmCIF' ? StructConn.get(unit.model) : void 0; const component = unit.model.sourceData.kind === 'mmCIF' ? ComponentBond.get(unit.model) : void 0; const atomA: number[] = [];