Преглед на файлове

Merge branch 'master' of https://github.com/molstar/molstar

David Sehnal преди 5 години
родител
ревизия
a81f7f6cfd
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/mol-model/structure/structure/structure.ts

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

@@ -788,7 +788,7 @@ namespace Structure {
 
         const cs = s.coordinateSystem;
         const newCS = SymmetryOperator.compose(SymmetryOperator.create(cs.name, transform, cs), cs);
-        return new Structure(units, { parent: s, coordinateSystem: newCS });
+        return new Structure(units, { parent: s.parent, coordinateSystem: newCS });
     }
 
     export class StructureBuilder {