Alexander Rose пре 7 година
родитељ
комит
914e4d35d3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/mol-model/structure/structure/util/lookup3d.ts

+ 1 - 1
src/mol-model/structure/structure/util/lookup3d.ts

@@ -84,7 +84,7 @@ export class StructureLookup3D implements Lookup3D<Element> {
     _boundary: { box: Box3D; sphere: Sphere3D; } | undefined = void 0;
 
     get boundary() {
-        if (this.boundary) return this._boundary!;
+        if (this._boundary) return this._boundary!;
         this._boundary = computeStructureBoundary(this.structure);
         return this._boundary!;
     }