X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Fpymol%2FPymolCommands.java;fp=src%2Fjalview%2Fext%2Fpymol%2FPymolCommands.java;h=b69d3e390c4007d0141da778d972da55e187518f;hb=966baa18c09b8fb041b874acdb8a850ad143d205;hp=ed64c006002f22a161bf2582ea46e6ae8af8dabf;hpb=ed971f2399ab7a032e29617387955fc907c5f1f5;p=jalview.git diff --git a/src/jalview/ext/pymol/PymolCommands.java b/src/jalview/ext/pymol/PymolCommands.java index ed64c00..b69d3e3 100644 --- a/src/jalview/ext/pymol/PymolCommands.java +++ b/src/jalview/ext/pymol/PymolCommands.java @@ -114,9 +114,12 @@ public class PymolCommands extends StructureCommandsBase String refAtomsAlphaOnly = "("+getAtomSpec(refAtoms, specType)+" and (altloc '' or altloc 'a'))"; String atomSpec2AlphaOnly = "("+getAtomSpec(atomSpec, specType)+" and (altloc '' or altloc 'a'))"; // pair_fit mobile -> reference + // crashes when undo is enabled on 2.5.2 (incentive) + commands.add(new StructureCommand("undo_disable")); commands.add(new StructureCommand("pair_fit", atomSpec2AlphaOnly, refAtomsAlphaOnly)); - + commands.add(new StructureCommand("undo_enable")); + /* * and show superposed residues as cartoon */