Quellcode durchsuchen

fix .firstChainLoc assignment in handleUnitChainsSimple

Alexander Rose vor 5 Jahren
Ursprung
Commit
4434dfb79a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/mol-model/structure/structure/element/stats.ts

+ 1 - 1
src/mol-model/structure/structure/element/stats.ts

@@ -186,7 +186,7 @@ export namespace Stats {
                 // full chain
                 stats.chainCount += 1;
                 if (stats.chainCount === 1) {
-                    Location.set(stats.firstChainLoc, unit, elements[offsets[cI]]);
+                    Location.set(stats.firstChainLoc, unit, offsets[cI]);
                 }
             }
         }