Browse Source

get boundary from unit (not lookup)

Alexander Rose 4 years ago
parent
commit
8ae40bfd7c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/mol-model/structure/structure/util/boundary.ts

+ 2 - 2
src/mol-model/structure/structure/util/boundary.ts

@@ -26,7 +26,7 @@ export function computeStructureBoundary(s: Structure): Boundary {
 
     for (let i = 0, _i = units.length; i < _i; i++) {
         const u = units[i];
-        const invariantBoundary = u.lookup3d.boundary;
+        const invariantBoundary = u.boundary;
         const o = u.conformation.operator;
 
         if (o.isIdentity) {
@@ -41,7 +41,7 @@ export function computeStructureBoundary(s: Structure): Boundary {
 
     for (let i = 0, _i = units.length; i < _i; i++) {
         const u = units[i];
-        const invariantBoundary = u.lookup3d.boundary;
+        const invariantBoundary = u.boundary;
         const o = u.conformation.operator;
 
         if (o.isIdentity) {