Bläddra i källkod

get boundary from unit (not lookup)

Alexander Rose 4 år sedan
förälder
incheckning
8ae40bfd7c
1 ändrade filer med 2 tillägg och 2 borttagningar
  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) {