ソースを参照

get boundary from unit (not lookup)

Alexander Rose 4 年 前
コミット
8ae40bfd7c
1 ファイル変更2 行追加2 行削除
  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) {