Alexander Rose před 3 roky
rodič
revize
58df6f3b85
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/mol-plugin-state/transforms/model.ts

+ 2 - 1
src/mol-plugin-state/transforms/model.ts

@@ -645,7 +645,8 @@ const MultiStructureSelectionFromExpression = PluginStateTransform.BuiltIn({
                     totalSize += StructureElement.Loci.size(loci.loci);
                     totalSize += StructureElement.Loci.size(loci.loci);
 
 
                     continue;
                     continue;
-                } if (entry.expression !== sel.expression) {
+                }
+                if (entry.expression !== sel.expression) {
                     recreate = true;
                     recreate = true;
                 } else {
                 } else {
                     // TODO: properly support "transitive" queries. For that Structure.areUnitAndIndicesEqual needs to be fixed;
                     // TODO: properly support "transitive" queries. For that Structure.areUnitAndIndicesEqual needs to be fixed;